summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
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()