summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 1789811..8febf9f 100644
--- a/rules.js
+++ b/rules.js
@@ -6169,7 +6169,11 @@ function rout_lord(lord) {
}
function resume_hit_lord() {
- if ((game.battle.h1 === 0 && game.battle.h2 === 0) || !has_unrouted_units(game.who))
+ if (
+ (game.battle.h1 === 0 && game.battle.h2 === 0) ||
+ (game.who === -1 && game.battle.garrison.knights + game.battle.garrison.men_at_arms === 0) ||
+ !has_unrouted_units(game.who)
+ )
end_hit_lord()
}