From ed0f37f1142f468199ca9420552ff0979bdfe43d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 2 Jul 2023 02:38:03 +0200 Subject: Emperor rules. --- play.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'play.js') diff --git a/play.js b/play.js index 8a97fa6..3862f75 100644 --- a/play.js +++ b/play.js @@ -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) -- cgit v1.2.3