summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.css2
-rw-r--r--play.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/play.css b/play.css
index 61115f9..308cd65 100644
--- a/play.css
+++ b/play.css
@@ -24,6 +24,8 @@
#role_Maria_Theresa { background-color: var(--color-role-austria) }
#role_Pompadour { background-color: var(--color-role-france) }
+#role_Frederick.oo .role_name::after { content: " (OO)" }
+
.role.active span { font-weight: bold }
header.your_turn.prussia { background-color: var(--color-light-prussia); }
diff --git a/play.js b/play.js
index 7d25ba2..3bd7b21 100644
--- a/play.js
+++ b/play.js
@@ -1157,6 +1157,8 @@ function on_update() {
ui.header.classList.toggle("imperial", view.power === P_IMPERIAL)
ui.header.classList.toggle("france", view.power === P_FRANCE)
+ roles.Frederick.element.classList.toggle("oo", !!view.oo)
+
update_player_power_list("Frederick")
update_player_power_list("Elisabeth")
update_player_power_list("Maria Theresa")