diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-08-17 17:09:49 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-08-22 21:38:42 +0200 |
commit | 57926abeb710b8311d67b0e0657b8a23f1058323 (patch) | |
tree | f794b7308c094b33948184406963aabcd6696219 /rules.js | |
parent | 89ee0b4262e89333e13a7a17604c816662c86158 (diff) | |
download | time-of-crisis-57926abeb710b8311d67b0e0657b8a23f1058323.tar.gz |
Check enough MIP to move with Forced March.
Was only checking IP for Initiate Battle...
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -3541,11 +3541,13 @@ states.force_march = { // Move Army if (game.selected_general >= 0) { - for (let to of ADJACENT[where]) { - if (!is_sea(to)) { - gen_action_region(to) - if (can_enter_capital(to)) - gen_action_capital(to) + if (game.mip >= 1) { + for (let to of ADJACENT[where]) { + if (!is_sea(to)) { + gen_action_region(to) + if (can_enter_capital(to)) + gen_action_capital(to) + } } } |