summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/play.js b/play.js
index 6720f11..5f8ad64 100644
--- a/play.js
+++ b/play.js
@@ -641,6 +641,7 @@ function on_update() {
ui.player[p].prize.textContent = view.players[p].prizes + " prizes"
}
+ ui.player[p].role.className = "role " + view.players[p].loyalty;
ui.player[p].role.classList.toggle("active", p === player_index[view.active])
ui.player[p].dial.className = "player_dial " + view.players[p].loyalty + " p" + p