Since mod runtime settings can now be changed from lua, it's possible that a setting gets changed without the on_runtime_mod_setting_changed being fired. This may cause mods that cache the setting in global to not update the value, which clearly isn't good.
The expected behavior was that changing any settings from script would fire the event automatically.
Edit: Also the api page for LuaSettings needs an update to mention that the settings can be changed.
[0.17.4] Changing mod settings from scripts doesn't raise an event
- theRustyKnife
- Filter Inserter
- Posts: 259
- Joined: Thu Feb 26, 2015 9:26 pm
- Contact:
Re: [0.17.4] Changing mod settings from scripts doesn't raise an event
Thanks for the report. I've fixed both things for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.