diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-17 07:36:44 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-17 07:36:44 +0100 |
commit | 3b33f2f5d166942ad870013708b68474fdcf5cf8 (patch) | |
tree | 2980638199f84fc6a51d980cc1e8a6dff337ff1d /rules.js | |
parent | 7ea1405b1b485f0e63188ff59e7d61350cd71492 (diff) | |
download | 1989-dawn-of-freedom-3b33f2f5d166942ad870013708b68474fdcf5cf8.tar.gz |
Fix General Strike when a Power Struggle card played
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -638,6 +638,7 @@ states.resolve_opponent_event = { game.return_state = 'resolve_opponent_event'
if (auto_resolve_events.includes(game.played_card) || switch_events.includes(game.played_card)) {
game.return = game.active
+ log(`C${game.played_card}`)
goto_vm(game.played_card)}
else {
if (game.active === DEM) {
@@ -646,6 +647,7 @@ states.resolve_opponent_event = { game.return = DEM
}
next_player()
+ log(`C${game.played_card}`)
goto_vm(game.played_card)
}
},
@@ -1692,7 +1694,6 @@ states.general_strike = { if (scoring_cards.includes(game.played_card)) {
log(`Played C${card}`)
game.return_state = 'general_strike'
- game.phase = 1
goto_vm(card)
return
}
|