summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
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);
}