[SOLVED] Cannot update settings

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

Post Reply
Beaniebaby4000
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri May 12, 2017 4:23 pm
Contact:

[SOLVED] Cannot update settings

Post by Beaniebaby4000 »

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
Last edited by Beaniebaby4000 on Sat May 25, 2019 12:29 pm, edited 1 time in total.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Cannot update settings

Post by eradicator »

You probably activated "main_menu -> settings -> other -> use different mod settings per save". In which case you have to load the game, then press esc, and change the setting there, to change them for *that particular savegame only*.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Beaniebaby4000
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri May 12, 2017 4:23 pm
Contact:

Re: Cannot update settings

Post by Beaniebaby4000 »

Excellent, thank you.

Post Reply

Return to “Logistic Train Network”