summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-30 00:47:39 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-01 16:11:22 +0200
commitbbcc4798c959efe9a0056da85224409c418dec9d (patch)
tree5e611d8cadc40f6aef36528b76da5b11668f3441 /play.js
parent6ecebe1bd199e836cc178ba3bd5234e9ae3d5bfa (diff)
downloadwaterloo-campaign-1815-bbcc4798c959efe9a0056da85224409c418dec9d.tar.gz
Add village names as HTML text.
Diffstat (limited to 'play.js')
-rw-r--r--play.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/play.js b/play.js
index 9a5b1c1..75e92d2 100644
--- a/play.js
+++ b/play.js
@@ -30,11 +30,11 @@ function find_piece(name) {
for (let info of data.reinforcements)
info.list = info.list.map(name => find_piece(name))
-let yoff = 1555
-let xoff = 36
-let hex_dx = 58.67
-let hex_dy = 68
-let hex_r = 56 >> 1
+const yoff = 1555
+const xoff = 36
+const hex_dx = 58.67
+const hex_dy = 68
+const hex_r = 56 >> 1
function set_has(set, item) {
if (!set)