From df290429181cea2934f774b8bd6542ccfac4d867 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 25 Sep 2023 00:01:38 +0200 Subject: No passing at all while reinforcements remain. --- rules.js | 6 +----- 1 file changed, 1 insertion(+), 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 } -- cgit v1.2.3