The Main Menu -> Options -> Mod Settings configuration option for "Default update interval" was not being persisted after quitting to desktop and relaunching the application.
This was fixed by adding the two lines to Controller.cs.
This, in turn, raised errors regarding "No active language! Cannot translate from key ..."
This seems to be because the DefaultUpdateInterval variable involves calling translations, and translations are not available at this point in the application startup process.
The DefaultUpdateInterval has been moved to a synthetic variable that saves and fetches on-demand, only when requested, persisting itself only in the raw integer scribe value.
This defers all translation attempts until much later, when the game is fully loaded, when the actual mod settings window attempts to render, or the game is actually being played, at which point translations are fully available.
The Main Menu -> Options -> Mod Settings configuration option for "Default update interval" was not being persisted after quitting to desktop and relaunching the application.
This was fixed by adding the two lines to Controller.cs.
This, in turn, raised errors regarding "No active language! Cannot translate from key ..."
This seems to be because the DefaultUpdateInterval variable involves calling translations, and translations are not available at this point in the application startup process.
The DefaultUpdateInterval has been moved to a synthetic variable that saves and fetches on-demand, only when requested, persisting itself only in the raw integer scribe value.
This defers all translation attempts until much later, when the game is fully loaded, when the actual mod settings window attempts to render, or the game is actually being played, at which point translations are fully available.