diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-15 03:29:18 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | 6d081770ec81e431a050d9d7feac6ece4ba87d14 (patch) | |
tree | d5f8ee41f67b0a1134ed1f145e14ffb5e001a6b2 /ui.js | |
parent | 1341c6003060c6e16d7bdd39b90360cac360c290 (diff) | |
download | richard-iii-6d081770ec81e431a050d9d7feac6ece4ba87d14.tar.gz |
richard: Show enemy pools.
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -583,8 +583,17 @@ function update_map() { } // Layout blocks on map - for (let area in AREAS) - layout_blocks(area, layout[area].Lancaster, layout[area].York); + for (let area in AREAS) { + if (area === POOL) { + layout_blocks("LPool", layout[area].Lancaster, []); + layout_blocks("YPool", layout[area].York, []); + } else if (area === MINOR) { + layout_blocks("LMinor", layout[area].Lancaster, []); + layout_blocks("YMinor", layout[area].York, []); + } else { + layout_blocks(area, layout[area].Lancaster, layout[area].York); + } + } for (let where in AREAS) { if (ui.areas[where]) { |