From 07f7ad04b5542a17206e340e12da7a9ce26399d0 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Thu, 16 Jan 2025 15:52:13 +0000 Subject: Fix Surrender power under General Strike --- rules.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index a3ffe7e..13c43ed 100644 --- a/rules.js +++ b/rules.js @@ -1700,7 +1700,7 @@ states.choose_power = { push_undo() log_gap(`Communist voluntarily surrenders Power.`) take_power(game.pwr_struggle_in) - permanently_remove(game.played_card) + permanently_remove(scoring_cards[countries.indexOf(game.pwr_struggle_in)]) game.phase = 1 }, scoring() { @@ -1929,10 +1929,12 @@ states.general_strike = { card(card) { push_undo() silent_discard(card) + game.played_card = card game.available_ops = get_card_ops(card) if (scoring_cards.includes(card)) { game.vm_event = card log(`Played C${card} for the event.`) + log_struggle_banner(game.played_card) game.return_state = 'end_round' goto_vm(game.vm_event) } else { -- cgit v1.2.3