Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-06-27 10:41:07 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-06-27 10:41:07 -0700
commitdcbdc43a4bba3b8a461fc0dbac2e8ee62ef9f03f (patch)
tree973e74786460292bac6ba363371d660bbf4812ae /src
parent22ce3905b249f0b361dc83d847edd4b30e5ba0ad (diff)
Make vars const
Diffstat (limited to 'src')
-rw-r--r--src/radial.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radial.js b/src/radial.js
index 41dbe67..a4e8370 100644
--- a/src/radial.js
+++ b/src/radial.js
@@ -326,7 +326,7 @@ mapsheet4BuildingCoords.forEach(building => {
const gameboard = svg.querySelector('.gameboard');
-let mapsheet1 = {
+const mapsheet1 = {
id: 'mapsheet1',
grid: new Map(mapsheetHexCoords),
buildings: [
@@ -378,7 +378,7 @@ let mapsheet1 = {
]
};
-let mapsheet2 = {
+const mapsheet2 = {
id: 'mapsheet2',
grid: new Map(mapsheetHexCoords),
buildings: [
@@ -427,7 +427,7 @@ let mapsheet2 = {
]
};
-let mapsheet3 = {
+const mapsheet3 = {
id: 'mapsheet3',
grid: new Map(mapsheetHexCoords),
buildings: [
@@ -476,7 +476,7 @@ let mapsheet3 = {
]
};
-let mapsheet4 = {
+const mapsheet4 = {
id: 'mapsheet4',
grid: new Map(mapsheetHexCoords),
buildings: [