diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-07-02 02:38:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-07 19:05:52 +0200 |
commit | ed0f37f1142f468199ca9420552ff0979bdfe43d (patch) | |
tree | e2283ef1cbc56d0d2382a80706e2f83013cdc72e /play.js | |
parent | bd0b0887e57945ead36b7c395c4a6855342398e0 (diff) | |
download | time-of-crisis-ed0f37f1142f468199ca9420552ff0979bdfe43d.tar.gz |
Emperor rules.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1355,6 +1355,7 @@ function on_update() { } e.classList.toggle("unavailable", region === UNAVAILABLE) e.classList.toggle("selected", view.selected_general === pi * 6 + ai) + e.classList.toggle("emperor", view.emperor === army) } if (avail_stack.length >= 6) layout_available(avail_stack, 48, pi * 625 + 0, 30) @@ -1380,6 +1381,7 @@ function on_update() { } e.classList.toggle("unavailable", region === UNAVAILABLE) e.classList.toggle("selected", view.selected_governor === pi * 6 + ai) + e.classList.toggle("emperor", view.emperor === pi * 6 + ai) } if (avail_stack.length >= 6) layout_available(avail_stack, 43, pi * 625 + 325, 27) |