summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-25 00:01:38 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-01 16:11:22 +0200
commitdf290429181cea2934f774b8bd6542ccfac4d867 (patch)
treed97a22cad8b03d1d0c79024dedf732ccc93e5d13
parent2dc352f1f05603158c281cb7c1155ed795a71ada (diff)
downloadwaterloo-campaign-1815-df290429181cea2934f774b8bd6542ccfac4d867.tar.gz
No passing at all while reinforcements remain.
-rw-r--r--rules.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index 8817bd4..d9e0eea 100644
--- a/rules.js
+++ b/rules.js
@@ -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
}