summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-06-22 14:25:49 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-21 00:28:20 +0200
commitd34beb24b0202b00bb2523a16ab7275534bcedc9 (patch)
treed46974a7fcc3bf38af06baac21b1bd0739c45888
parentd5c4bb1f834a9b88599681a5ed66b78c15e96a70 (diff)
downloadwashingtons-war-d34beb24b0202b00bb2523a16ab7275534bcedc9.tar.gz
fix discard exchange
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 15a2e14..01f8bf6 100644
--- a/rules.js
+++ b/rules.js
@@ -1283,7 +1283,7 @@ states.strategy_phase = {
goto_ops_general(c)
},
exchange_for_discard(c) {
- let d = game.did_discard_event = 0
+ let d = game.did_discard_event
game.did_discard_event = 0
discard_card(c, "exchange")
set_add(active_hand(), d)