Make vars const
This commit is contained in:
parent
54448301b5
commit
c09a598036
@ -326,7 +326,7 @@ mapsheet4BuildingCoords.forEach(building => {
|
|||||||
|
|
||||||
const gameboard = svg.querySelector('.gameboard');
|
const gameboard = svg.querySelector('.gameboard');
|
||||||
|
|
||||||
let mapsheet1 = {
|
const mapsheet1 = {
|
||||||
id: 'mapsheet1',
|
id: 'mapsheet1',
|
||||||
grid: new Map(mapsheetHexCoords),
|
grid: new Map(mapsheetHexCoords),
|
||||||
buildings: [
|
buildings: [
|
||||||
@ -378,7 +378,7 @@ let mapsheet1 = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
let mapsheet2 = {
|
const mapsheet2 = {
|
||||||
id: 'mapsheet2',
|
id: 'mapsheet2',
|
||||||
grid: new Map(mapsheetHexCoords),
|
grid: new Map(mapsheetHexCoords),
|
||||||
buildings: [
|
buildings: [
|
||||||
@ -427,7 +427,7 @@ let mapsheet2 = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
let mapsheet3 = {
|
const mapsheet3 = {
|
||||||
id: 'mapsheet3',
|
id: 'mapsheet3',
|
||||||
grid: new Map(mapsheetHexCoords),
|
grid: new Map(mapsheetHexCoords),
|
||||||
buildings: [
|
buildings: [
|
||||||
@ -476,7 +476,7 @@ let mapsheet3 = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
let mapsheet4 = {
|
const mapsheet4 = {
|
||||||
id: 'mapsheet4',
|
id: 'mapsheet4',
|
||||||
grid: new Map(mapsheetHexCoords),
|
grid: new Map(mapsheetHexCoords),
|
||||||
buildings: [
|
buildings: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user