diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-04 13:05:55 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | 6c12573074cc3eae1ac85d9be342f660aec4d19f (patch) | |
tree | 451cba1e18eae146fec6b46a529dd5ceb09779be | |
parent | 61449071c173884cdefd5ec765ed88c6535f6176 (diff) | |
download | nevsky-6c12573074cc3eae1ac85d9be342f660aec4d19f.tar.gz |
Fix Summer Crusaders disbanding leaving lord with no forces.
-rw-r--r-- | rules.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) { |