From 8755434e50f4e34cc135b0e939894472d7b331a4 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 17 Dec 2022 20:22:36 +0100 Subject: Stone Kremlin. --- play.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'play.js') 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)) -- cgit v1.2.3