diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-15 00:36:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-15 00:36:03 +0200 |
commit | b9ee0791e0834adbf8347ea198c4c0d580c7cf38 (patch) | |
tree | e1534e9d99f53b680f318ee901224c8792b40e6f /rules.js | |
parent | aa08a6d083fef631aa58b9c3d50c4c024639b498 (diff) | |
download | washingtons-war-b9ee0791e0834adbf8347ea198c4c0d580c7cf38.tar.gz |
fix "discard opponent's card" events
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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) { |