summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2024-02-18 12:31:41 +0100
committerteisuru <31881306+teisuru@users.noreply.github.com>2024-02-18 12:31:41 +0100
commite91f7643324a5819937897d064848412f4d8748a (patch)
tree58412188333de814c132872f0ecfeacd81082317 /rules.js
parenta53e3470ffa5d82c1a35b05178acd5ae6b56fb78 (diff)
downloadplantagenet-e91f7643324a5819937897d064848412f4d8748a.tar.gz
fix welsh rebellion
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 63f273c..a3c65b7 100644
--- a/rules.js
+++ b/rules.js
@@ -3248,7 +3248,7 @@ states.welsh_rebellion_remove_favour = {
function end_welsh_rebellion() {
for (let lord = first_york_lord; lord <= last_york_lord; ++lord) {
- if (is_lord_in_wales(lord) && !has_no_unrouted_forces(lord))
+ if (is_lord_on_map(lord) && is_lord_in_wales(lord) && !lord_has_unrouted_units(lord))
disband_lord(lord, false)
}
game.count = 0