summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js6
-rw-r--r--rules.js5
2 files changed, 8 insertions, 3 deletions
diff --git a/play.js b/play.js
index f2b723a..de6dfb6 100644
--- a/play.js
+++ b/play.js
@@ -1515,7 +1515,9 @@ function on_update() {
action_button("automatic", "Automatic")
action_button("spend_military", "Spend Military")
action_button("spend_senate", "Spend Senate")
- action_button("reroll", "Reroll")
+
+ action_button("keep", "Keep")
+ action_button("reroll", "Re-roll")
action_button("roll", "Roll")
action_button("disperse_mob", "Disperse Mob")
@@ -1534,7 +1536,7 @@ function on_update() {
action_button("end_actions", "End Actions")
action_button("end_turn", "End Turn")
- action_button("keep", "Keep")
+
action_button("pass", "Pass")
action_button("done", "Done")
action_button("undo", "Undo")
diff --git a/rules.js b/rules.js
index faffc09..c1c0bba 100644
--- a/rules.js
+++ b/rules.js
@@ -3962,10 +3962,13 @@ states.flanking_maneuver = {
get inactive() { return "Flanking Maneuver. " + format_hits() },
prompt() {
prompt("Flanking Maneuver: " + format_hits() + ".")
- view.actions.pass = 1
+ view.actions.keep = 1
view.actions.reroll = 1
},
pass() {
+ this.keep()
+ },
+ keep() {
push_undo()
goto_assign_hits()
},