[0.17.4] Changing mod settings from scripts doesn't raise an event
Posted: Sat Mar 02, 2019 6:17 pm
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.
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.