summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-08 12:08:32 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-08 12:08:32 +0000
commit275e03c84e3a6b67cb2da82b040d45ebd4038f08 (patch)
tree9ae4700f536ba17d6b130b3134f3fef99fa97a48 /rules.js
parent8b9f51b9a547531a8b045f0b60d9fec9e58da4fd (diff)
download1989-dawn-of-freedom-275e03c84e3a6b67cb2da82b040d45ebd4038f08.tar.gz
Fix Honecker under general strike
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 1ef5ec8..324e4f0 100644
--- a/rules.js
+++ b/rules.js
@@ -1790,7 +1790,12 @@ states.honecker ={
log_h2(`Action Round ${game.round}`)
game.round_player = COM
permanently_remove(C_HONECKER)
- game.state = 'choose_card'
+ console.log('game.persistent_events', game.persistent_events)
+ if (game.persistent_events.includes(C_GENERAL_STRIKE)) {
+ game.state = 'general_strike'
+ } else {
+ game.state = 'choose_card'
+ }
},
pass() {
push_undo()