fix: Fixes order of execution with AutoSave and TZ (#1665)
This commit is contained in:
parent
3812a783ca
commit
64a8d6cb5d
2 changed files with 6 additions and 3 deletions
|
|
@ -35,9 +35,9 @@ namespace Server.Saves
|
|||
|
||||
public static void Configure()
|
||||
{
|
||||
SavesEnabled = ServerConfiguration.GetOrUpdateSetting("autosave.enabled", true);
|
||||
Delay = ServerConfiguration.GetOrUpdateSetting("autosave.saveDelay", TimeSpan.FromMinutes(5.0));
|
||||
Warning = ServerConfiguration.GetOrUpdateSetting("autosave.warningDelay", TimeSpan.Zero);
|
||||
SavesEnabled = ServerConfiguration.GetOrUpdateSetting("autosave.enabled", true);
|
||||
}
|
||||
|
||||
public static void ResetAutoSave(TimeSpan saveDelay, TimeSpan warningDelay)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue