summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index a49c58d..bc296e7 100644
--- a/rules.js
+++ b/rules.js
@@ -2684,6 +2684,7 @@ states.retreat_before_battle_roll = {
// TODO: choose which CU to retreat with if mix of french/american
},
roll() {
+ clear_undo()
let who = game.retreat.who
let to = game.retreat.to
let agility = GENERALS[who].agility
@@ -3614,6 +3615,10 @@ states.remove_american_pc_within_two_spaces_of_a_british_general_1 = {
game.who = g
game.state = "remove_american_pc_within_two_spaces_of_a_british_general_2"
},
+ pass() {
+ delete game.who
+ end_strategy_card_now()
+ },
}
states.remove_american_pc_within_two_spaces_of_a_british_general_2 = {
@@ -3834,6 +3839,7 @@ states.john_glovers_marblehead_regiment_who = {
}
events.declaration_of_independence = function () {
+ clear_undo()
game.save = game.active
game.active = P_AMERICA
game.state = "declaration_of_independence"