diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-04 14:43:11 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | 0a29180008b0061481d059249172ef4e020ff3c7 (patch) | |
tree | a065df51df80237d7ebae0d8cca2fdd5b801e06f /rules.js | |
parent | ceaa1d86746b5b10048f286dc953d5817c3384d7 (diff) | |
download | nevsky-0a29180008b0061481d059249172ef4e020ff3c7.tar.gz |
Fix end of battle check.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6953,7 +6953,7 @@ function has_no_unrouted_forces() { if (is_friendly_lord(game.battle.array[p])) return false for (let lord of game.battle.reserves) - if (is_friendly_locale(lord)) + if (is_friendly_lord(lord)) return false if (game.battle.storm && game.active !== game.battle.attacker) if (game.battle.garrison) |