summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index df8834d..41f60e0 100644
--- a/rules.js
+++ b/rules.js
@@ -4790,7 +4790,7 @@ function goto_buy_trash_discard() {
if (game.end) {
// Skip rest of turn...
for (let c of game.played)
- set_add(discard, c)
+ set_add(current_discard(), c)
game.played.length = 0
goto_end_of_turn()
} else if (current_hand().length > 0) {