summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 2 insertions, 0 deletions
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)