How to detect change of startup mod settings
Posted: Wed May 15, 2019 4:04 pm
I need to check if startup settings of my mod were changed since the last save.
My mod changes some colors on the map preview and I need to call game.forces.player.rechart() if settings were changed.
Event on_runtime_mod_setting_changed doesn't seem to be triggered in this situation and I cannot find any other that would fit better.
My mod changes some colors on the map preview and I need to call game.forces.player.rechart() if settings were changed.
Event on_runtime_mod_setting_changed doesn't seem to be triggered in this situation and I cannot find any other that would fit better.