diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-09-25 00:01:38 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-01 16:11:22 +0200 |
commit | df290429181cea2934f774b8bd6542ccfac4d867 (patch) | |
tree | d97a22cad8b03d1d0c79024dedf732ccc93e5d13 /rules.js | |
parent | 2dc352f1f05603158c281cb7c1155ed795a71ada (diff) | |
download | waterloo-campaign-1815-df290429181cea2934f774b8bd6542ccfac4d867.tar.gz |
No passing at all while reinforcements remain.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -6,9 +6,6 @@ // TODO: prompts - Done when no more to do // TODO: pause after last battle before next turn (do not auto-pass move and attack?) - -// TODO: disable pass with moves returning if have units off map that can enter - // TODO: confirm attack step! // TODO: roll attack step! @@ -1266,8 +1263,7 @@ states.movement = { if (piece_hex(p) === REINFORCEMENTS) { has_reinf = true if (can_piece_enter(p)) { - if (game.remain > 0) - may_pass = 0 + may_pass = 0 gen_action_piece(p) break } |