Make vars const

This commit is contained in:
Catalin Constantin Mititiuc 2025-06-16 22:41:32 -07:00
parent 54448301b5
commit c09a598036

View File

@ -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: [