From 275e03c84e3a6b67cb2da82b040d45ebd4038f08 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 8 Nov 2024 12:08:32 +0000 Subject: Fix Honecker under general strike --- rules.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'rules.js') 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() -- cgit v1.2.3