diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-12 22:31:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | f6f38932ec5c681aa457aedc2b658f5e0200846a (patch) | |
tree | 23f310d34b4fbe413555b92d6558cdd265b19995 | |
parent | 0f99475d234e946bb43ee5f4104d16c4adeb66e6 (diff) | |
download | richard-iii-f6f38932ec5c681aa457aedc2b658f5e0200846a.tar.gz |
richard: Fix layout bug with pretender color.
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |