From 6d081770ec81e431a050d9d7feac6ece4ba87d14 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 15 Dec 2021 03:29:18 +0100 Subject: richard: Show enemy pools. --- ui.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'ui.js') diff --git a/ui.js b/ui.js index 5dc0c97..62e676d 100644 --- a/ui.js +++ b/ui.js @@ -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]) { -- cgit v1.2.3