diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-07-27 17:33:25 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-08-21 00:28:20 +0200 |
commit | 0513bcc2d851d74521b9dabd8809fc333e9d0b84 (patch) | |
tree | 610542e60e1132a4cc7ade93c3bb224006d10a56 | |
parent | eaa39d34fc8f20b5e996aa896f338d765456ad60 (diff) | |
download | washingtons-war-0513bcc2d851d74521b9dabd8809fc333e9d0b84.tar.gz |
fix deck reshuffle
-rw-r--r-- | rules.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -252,6 +252,8 @@ function reshuffle_deck() { // Reconstitute deck, minus removed cards, cards in hand, war_ends, and reinforcement cards. // Rule 6.1B clarification. + game.deck = [] + for (let c = 1; c <= 110; ++c) { if (game.a_hand.includes(c)) continue @@ -1102,7 +1104,6 @@ function goto_start_year() { } if (has_flag(F_RESHUFFLE)) { - log("Re-shuffled deck.") reshuffle_deck() } |