diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-02-21 11:45:19 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-02-21 11:45:19 +0100 |
commit | e62380262d83748e2a84949d72f4e3c11ea0678f (patch) | |
tree | ece811434fafb30e091dc3fc6d7ecbe816d1ad9b /rules.js | |
parent | 33c664391add7d7b57775689e780b0110d13c1a4 (diff) | |
download | time-of-crisis-e62380262d83748e2a84949d72f4e3c11ea0678f.tar.gz |
End Frumentarii draw if no more cards are available.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3620,6 +3620,12 @@ function play_frumentarii() { function resume_frumentarii() { flip_discard_to_available_if_empty() + + // if no more cards available! + if (game.count > 0 && game.draw[game.current].length === 0) { + game.count = 0 + resume_take_actions() + } } states.frumentarii = { |