summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-30 11:31:07 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-30 11:31:07 +0000
commit5b60f50ce0b3dcfe7cafc9ba4ae550a402777a36 (patch)
tree93d7245090001d368a3f58424908a8548f3d83ad
parent3970b0c8aa7f2a91bde5c2e1cb93bcc1e077d246 (diff)
download1989-dawn-of-freedom-5b60f50ce0b3dcfe7cafc9ba4ae550a402777a36.tar.gz
Fix new General Strike
-rw-r--r--rules.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 4a7b883..4a28647 100644
--- a/rules.js
+++ b/rules.js
@@ -1899,9 +1899,7 @@ states.general_strike = {
},
card(card) {
push_undo()
- let find_card
- find_card = game.communist_hand.indexOf(card)
- game.communist_hand.splice(find_card, 1)
+ silent_discard(card)
game.available_ops = get_card_ops(card)
if (scoring_cards.includes(card)) {
game.vm_event = card