diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-03-21 22:19:43 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-03-21 22:19:43 +0100 |
commit | 48dd3c43c2c6cb5e41382377cdd7c4b2214edadd (patch) | |
tree | dc00154a0011b710fb3b81959809e35dd076475b | |
parent | fd0ddf85c96dcf16a529b5ca2843d5af4de5b9f3 (diff) | |
download | land-and-freedom-48dd3c43c2c6cb5e41382377cdd7c4b2214edadd.tar.gz |
Fix display of player tokens on fronts.
-rw-r--r-- | play.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -403,7 +403,7 @@ function update_front(status_card, str_container, con_container, front, front_id con_container.appendChild(e) } - for (i of ["a", "c", "m"]) { + for (i = 0; i < 3; ++i) { if (front.contributions.includes(i)) { e = document.createElement("div") e.className = "red token player " + faction_class[i] @@ -578,7 +578,7 @@ function on_update() { // eslint-disable-line no-unused-vars action_button("confirm", "Confirm") action_button("done", "Done") - action_button("spend_hp", "Hero Points") + action_button("spend_hp", "Use Hero Points") action_button("end_turn", "End Turn") action_button("undo", "Undo") |