summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-12-09 12:51:26 +0100
committerTor Andersson <tor@ccxvii.net>2024-12-09 12:51:26 +0100
commit48336561d589cf2c247c794a0f78098d80b3abcf (patch)
tree8cca8f51c5e6149f548c4e3b7b7e2810f2d12129
parentb7ab205b3c5b9c37a27a55a8e6ad3bc42fc7c994 (diff)
downloadwashingtons-war-48336561d589cf2c247c794a0f78098d80b3abcf.tar.gz
Don't allow picking up your own discarded card...
... when your opponent has run out of cards and you take turns in a row.
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index c287d2a..5967414 100644
--- a/rules.js
+++ b/rules.js
@@ -1283,6 +1283,7 @@ function goto_strategy_phase(new_active) {
let hand = active_hand()
if (hand.length === 0) {
+ game.did_discard_event = 0
game.active = ENEMY[game.active]
hand = active_hand()
if (hand.length === 0)