0.13.3 mod bug on reload
- John Doom
- Posts: 126
- Joined: Wed Dec 01, 2021 5:59 pm
- Location: Italy
- Contact:
0.13.3 mod bug on reload
Happened while I was working on a mod. Basically I had registered the OnNewHour to check for a static variable which was supposed to change based on the save file. I reloaded an older save expecting that variable to change to an older value, however OnNewHour fired before the mod saved data could be retrieved. lol I'm not sure if it's a bug or a feature. In the end I fixed my mod registering the OnStartLoad event to clear that variable, now the mod works as intended.