From ab0e69f51f9904f918c88953218aa3546638a697 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 16 Jun 2022 23:38:01 +0200 Subject: Colored faction icons in role panel. --- play.js | 1 + 1 file changed, 1 insertion(+) (limited to 'play.js') 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 -- cgit v1.2.3