From 9f01f50ce897eda24625d292402b6a731c28e1f6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 21 Mar 2025 00:04:45 +0100 Subject: fix player panel display of hero points and initiative --- play.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/play.js b/play.js index f182f97..1138ffd 100644 --- a/play.js +++ b/play.js @@ -452,9 +452,9 @@ function on_update() { // eslint-disable-line no-unused-vars ui.header.classList.toggle("fascist", !!view.fascist) ui.initiative.classList.toggle("ccw", (view.year & 1) === 0) - roles.Anarchist.stat.textContent = update_stat_line("a") - roles.Communist.stat.textContent = update_stat_line("c") - roles.Moderate.stat.textContent = update_stat_line("m") + roles.Anarchist.stat.textContent = update_stat_line(0) + roles.Communist.stat.textContent = update_stat_line(1) + roles.Moderate.stat.textContent = update_stat_line(2) // TODO: played card (side panel?) -- cgit v1.2.3