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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • 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.