[SOLVED] Cannot update settings
Posted: Sat May 25, 2019 10:44 am
Hello,
I cannot update the settings in a game using LTN. Every time I change a setting and confirm the change ingame, it does not save. Instead returning to defaults.
So I when into the mod and changed the default settings to what I wanted and reloaded the game. And still the settings are at the original default settings, not the updated defaults that I just set.
file changed: settings.lua
{
type = "int-setting",
name = "ltn-dispatcher-delivery-timeout",
order = "cd",
setting_type = "runtime-global",
default_value = 216000, --60min #Was 18000, --5min
minimum_value = 3600, -- 1min
maximum_value = 216000, -- 60min
},
Am I doing something incorrectly? Does the save file have a separate mod settings file?
Thank you for your help, Beanie
I cannot update the settings in a game using LTN. Every time I change a setting and confirm the change ingame, it does not save. Instead returning to defaults.
So I when into the mod and changed the default settings to what I wanted and reloaded the game. And still the settings are at the original default settings, not the updated defaults that I just set.
file changed: settings.lua
{
type = "int-setting",
name = "ltn-dispatcher-delivery-timeout",
order = "cd",
setting_type = "runtime-global",
default_value = 216000, --60min #Was 18000, --5min
minimum_value = 3600, -- 1min
maximum_value = 216000, -- 60min
},
Am I doing something incorrectly? Does the save file have a separate mod settings file?
Thank you for your help, Beanie