diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2023-09-04 10:05:35 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | 49f732f777466d3b187c24a870112c7483a5a913 (patch) | |
tree | e073f7e3e89d6c45987267c849888c236e7cf45d /play.js | |
parent | 1bfc2c07a1e0de29e10ae73173d8e4dd6c70c920 (diff) | |
download | plantagenet-49f732f777466d3b187c24a870112c7483a5a913.tar.gz |
debug sail
wrong list of locale for way_sea_3
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1122,10 +1122,21 @@ function update_locale(loc) { ui.locale_markers[loc].appendChild(get_cached_element("marker circle battle")) + if (!set_has(view.pieces.depleted,loc) && !set_has(view.pieces.exhausted,loc)) { + let cn + cn = "depleted" + ui.locale_markers[loc].classList.remove(cn) + cn = "exhausted" + ui.locale_markers[loc].classList.remove(cn) + } + if (set_has(view.pieces.depleted, loc)) { let cn cn = "depleted" ui.locale_markers[loc].classList.add(cn) + cn = "exhausted" + ui.locale_markers[loc].classList.remove(cn) + } if (set_has(view.pieces.exhausted, loc)) { let cn |