diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -289,7 +289,7 @@ function on_update() { } for (let front_id of Object.keys(view.fronts)) { const front_data = view.fronts[front_id]; - ui.fronts[front_id].value.replaceChildren(front_data.value); + ui.fronts[front_id].value.replaceChildren(front_data.status !== null ? front_data.status : front_data.value); ui.fronts[front_id].contributions.replaceChildren(); for (let faction_id of front_data.contributions) { ui.fronts[front_id].contributions.appendChild(ui.tokens_on_front[front_id][faction_id]); |