private void SaveTimerTick(object sender, ElapsedEventArgs e)
{
if (IsAutoSaveEnabled)
{
if (!string.IsNullOrWhiteSpace(CurrentFile))
SaveWorldThreaded(Path.Combine(TempPath, Path.GetFileNameWithoutExtension(CurrentFile) + ".autosave"));
else
SaveWorldThreaded(Path.Combine(TempPath, "newworld.autosave"));
}
}