summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index ec0277f..8d9e79f 100644
--- a/rules.js
+++ b/rules.js
@@ -1532,6 +1532,9 @@ function disband_vassal(vassal) {
add_lord_forces(lord, SERFS, -(info.forces.serfs | 0))
game.pieces.vassals[vassal] = VASSAL_READY
+
+ if (!lord_has_unrouted_units(lord))
+ disband_lord(lord)
}
function muster_vassal(lord, vassal) {