summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 4b1a182..34f4523 100644
--- a/rules.js
+++ b/rules.js
@@ -4651,6 +4651,9 @@ function goto_post_combat() {
// Deselect eliminated general...
if (game.selected_general >= 0 && get_general_location(game.selected_general) === AVAILABLE)
game.selected_general = -1
+ // Deselect eliminated militia...
+ if (game.selected_militia >= 0 && !has_militia(game.selected_militia))
+ game.selected_militia = -1
// Military Emperor check for death in battle
if (game.emperor === ARMY + game.combat.attacker)