[Solved] Questions on on_configuration_changed and migration
Posted: Sat Mar 02, 2019 4:49 pm
on_configuration_changed() is supposed to be called when game detects mod version changes, right?
I have a game saved in game version 0.16.51 with my mod version 0.16.1. Now I made an update for 0.17, and try to load in game version 0.17.4. However, on_configuration_changed() is bypassed. on_load() is called directly, causing failure to load values.
So did I do something wrong?
If on_configuration_changed() is not supposed to be called during mod version update, where should I have the code for handling game.* and global.* variables?
Thanks for any help.
I have a game saved in game version 0.16.51 with my mod version 0.16.1. Now I made an update for 0.17, and try to load in game version 0.17.4. However, on_configuration_changed() is bypassed. on_load() is called directly, causing failure to load values.
So did I do something wrong?
If on_configuration_changed() is not supposed to be called during mod version update, where should I have the code for handling game.* and global.* variables?
Thanks for any help.