From f0357af2ef6c3d4cc35e905bb85865f8f49dc750 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 24 Jul 2023 02:21:55 +0200 Subject: Don't advance into capital after victorious battle with lone militia! --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 1ae33be..7db581b 100644 --- a/rules.js +++ b/rules.js @@ -4567,7 +4567,7 @@ function goto_combat_victory_attacker() { remove_general_castra(game.combat.target) } - if (can_enter_capital(game.where)) + if (game.combat.attacker >= 0 && can_enter_capital(game.where)) game.state = "advance_after_combat" else goto_post_combat() -- cgit v1.2.3