From f6f38932ec5c681aa457aedc2b658f5e0200846a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 12 Jul 2021 22:31:03 +0200 Subject: richard: Fix layout bug with pretender color. --- ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.js b/ui.js index 90cda18..561f114 100644 --- a/ui.js +++ b/ui.js @@ -551,7 +551,7 @@ function update_map() { else element.classList.add("moved"); if (color == REBEL) - layout[area][game.pretender].push(element); + layout[area][BLOCKS[game.pretender].owner].push(element); else layout[area][color].push(element); } -- cgit v1.2.3