summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-05-01 13:35:19 +0200
committerTor Andersson <tor@ccxvii.net>2025-05-01 13:35:19 +0200
commit73a98355f5d143f251ce0937d7f844f13c135c99 (patch)
treef6f00a5eb5b3bcf4d4c2a03074654335278eb6e6
parent4bdfc17862f06eff0664a05879d59f5bff6f0cf3 (diff)
downloadred-flag-over-paris-master.tar.gz
Fix undo glitch in final crisis discard.HEADmaster
-rw-r--r--rules.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 8fe1429..7ddf8a6 100644
--- a/rules.js
+++ b/rules.js
@@ -2366,7 +2366,6 @@ function resume_final_crisis_discard() {
else if (game.blue_hand.length > game.round)
game.active = [ VERSAILLES ]
else {
- clear_undo()
game.round = 4
goto_initiative_phase()
}
@@ -2388,7 +2387,6 @@ states.final_crisis_discard = {
}
},
card(c, player) {
- push_undo()
if (player === COMMUNE)
array_remove_item(game.red_hand, c)
if (player === VERSAILLES)