From 0a29180008b0061481d059249172ef4e020ff3c7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 4 Jan 2023 14:43:11 +0100 Subject: Fix end of battle check. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 7c1661b..b0a5157 100644 --- a/rules.js +++ b/rules.js @@ -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) -- cgit v1.2.3