From 66e6dec72f237dcc9fc9b22a2b052f1f80924225 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 11 Dec 2023 15:54:56 +0100 Subject: Strategy Phase: Done -> Commit. --- play.js | 1 + rules.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/play.js b/play.js index a0faf1d..e2ef808 100644 --- a/play.js +++ b/play.js @@ -880,6 +880,7 @@ function on_update() { // eslint-disable-line no-unused-vars action_button("yellow", "Yellow") action_button("roll", "Roll") action_button("reroll", "Re-roll") + action_button("commit", "Commit") action_button("next", "Next") action_button("end_event", "End Event") action_button("next_turn", "Next Turn") diff --git a/rules.js b/rules.js index 264fd63..26a5e55 100644 --- a/rules.js +++ b/rules.js @@ -889,7 +889,7 @@ states.strategy_phase = { if (game.support_buttons > 0) { gen_action("commit_1_button") } - gen_action("done") + gen_action("commit") } else { view.prompt = `Strategy: Suffragist committed ${pluralize(game.support_committed, 'button')}.` view.actions.defer = 0 @@ -915,7 +915,7 @@ states.strategy_phase = { game.support_committed += 1 }, - done() { + commit() { clear_undo() log(`Suffragist committed ${game.support_committed} BM`) game.active = OPP -- cgit v1.2.3