Moar engine changes

This commit is contained in:
ElectroJr
2024-12-24 18:57:52 +13:00
parent eef7d02e11
commit a8cc0397c2
10 changed files with 28 additions and 30 deletions

View File

@@ -78,7 +78,7 @@ public sealed class MappingSystem : EntitySystem
var path = Path.Combine(saveDir, $"{DateTime.Now.ToString("yyyy-M-dd_HH.mm.ss")}-AUTO.yml");
_currentlyAutosaving[map] = (CalculateNextTime(), name);
Log.Info($"Autosaving map {name} ({map}) to {path}. Next save in {ReadableTimeLeft(map)} seconds.");
_loader.SaveMap(map, path);
_loader.TrySaveMap(map, new ResPath(path));
}
}