Allow setting autosave interval to a custom number of days

This commit is contained in:
Jonathan G Rennison
2021-12-14 18:08:06 +00:00
parent 670dbc739d
commit 583663bca1
7 changed files with 87 additions and 6 deletions

View File

@@ -1406,6 +1406,10 @@ static void TrainSpeedAdaptationChanged(int32 new_value) {
}
}
static void AutosaveModeChanged(int32 new_value) {
InvalidateWindowClassesData(WC_GAME_OPTIONS);
}
/** Checks if any settings are set to incorrect values, and sets them to correct values in that case. */
static void ValidateSettings()
{