summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js1
-rw-r--r--rules.js4
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