From b9ee0791e0834adbf8347ea198c4c0d580c7cf38 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 15 May 2024 00:36:03 +0200 Subject: fix "discard opponent's card" events --- rules.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rules.js b/rules.js index c3f2642..02dc94b 100644 --- a/rules.js +++ b/rules.js @@ -2228,13 +2228,11 @@ events.the_war_ends = function (c, card) { events.remove_random_british_card = function (c, card) { play_card(c) remove_random_card(game.b_hand) - end_strategy_card() } events.remove_random_american_card = function (c, card) { play_card(c) remove_random_card(game.a_hand) - end_strategy_card() } function remove_random_card(hand) { @@ -2246,7 +2244,8 @@ function remove_random_card(hand) { do_event(c) else end_strategy_card() - } + } else + end_strategy_card() } function advance_french_alliance(count) { -- cgit v1.2.3