Wuan
Veteran
When a lord without spouse changes faction to another, his/her title will be wrong.
My solution is:
find
in "script_troop_set_title_according_to_faction",
and insert this code on its next line:
Compiled normally and the bug was fixed.
My solution is:
find
"(troop_slot_eq, ":troop_no", slot_troop_spouse, ":faction_leader"), #wife is now queen/khatun/sultana"
in "script_troop_set_title_according_to_faction",
and insert this code on its next line:
Code:
##Wuan fix The wrong title will appear when lord has no spouse
(assign, ":continue", 1),
(try_begin),
(troop_slot_eq, ":troop_no", slot_troop_spouse, ":faction_leader"), #wife is now queen/khatun/sultana
(troop_slot_eq, ":troop_no", slot_troop_spouse, -1),
(assign, ":continue", 0),
(try_end),
(eq, ":continue", 1),
##Wuan fix
Last edited: