diff options
-rw-r--r-- | play.css | 2 | ||||
-rw-r--r-- | play.js | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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); } @@ -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") |