diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-06-28 20:23:21 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-06-28 20:23:21 +0200 |
commit | 9a33cb53a787ecfd24277469b3dfc334947be6e5 (patch) | |
tree | b4602fc449bff665294f454d5f6b740ccb00fdbd /rules.js | |
parent | 323a856f7f6863ef7beb3c1877d54820e5909c49 (diff) | |
download | red-flag-over-paris-9a33cb53a787ecfd24277469b3dfc334947be6e5.tar.gz |
Clear undo when playing opponent's event during Final Crisis.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2382,10 +2382,12 @@ states.final_crisis_events = { discard_card(c) game.what = c if (game.active === VERSAILLES && is_commune_card(c)) { + clear_undo() game.active = COMMUNE game.state = "final_crisis_opponent_event" } else if (game.active === COMMUNE && is_versailles_card(c)) { + clear_undo() game.active = VERSAILLES game.state = "final_crisis_opponent_event" } |