summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-12-17 20:22:36 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commit8755434e50f4e34cc135b0e939894472d7b331a4 (patch)
tree1c27000e61d55b8b3523b6604c0e2f7534fa4bad /play.js
parent4406a730314dd97654b4545685b305a12a76d6fb (diff)
downloadnevsky-8755434e50f4e34cc135b0e939894472d7b331a4.tar.gz
Stone Kremlin.
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/play.js b/play.js
index 959a8de..87ae7aa 100644
--- a/play.js
+++ b/play.js
@@ -1044,6 +1044,7 @@ function update_locale(loc) {
ui.locale_markers[loc].appendChild(get_cached_element(cn))
}
+ // TODO: max 2 castles - reuse elements
if (set_has(view.locales.castles1, loc)) {
let cn = "marker rectangle castle teutonic"
ui.locale_markers[loc].appendChild(get_cached_element(cn))
@@ -1054,6 +1055,7 @@ function update_locale(loc) {
ui.locale_markers[loc].appendChild(get_cached_element(cn))
}
+ // TODO: max 4 walls - reuse elements
if (set_has(view.locales.walls, loc)) {
let cn = "marker square walls"
ui.locale_markers[loc].appendChild(get_cached_element(cn))