Jump to content

UnionQuests do not change the Kingdom's UnitsSet (in Kingdom.ChangeNameAndCulture)


Recommended Posts

For example, if you do the Union Quest to reform Italy, you do not get access to the Pavise Crossbowmen that are defined for Italy in kingdoms.csv.

The bug is in the method Kingdom.ChangeNameAndCulture

Although the csv_field is properly assigned the value of the new Kingdom, the parameter unitsSetCSVKey still holds the value from the old kingdom. Then the method LoadFromCSV is called with this old unitsSetCSVKey value rather than csv_field.key, resulting in no change to the units at all.

Edited by FanaticModder
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.