mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-29 11:51:07 -04:00
[Bugfix] Autosave timestamp incorrectly seeded (#6566)
This commit is contained in:
@@ -75,6 +75,7 @@ static void Autosave_SoftResetSave() {
|
||||
}
|
||||
|
||||
static void RegisterAutosave() {
|
||||
lastSaveTimestamp = GetUnixTimestamp();
|
||||
COND_HOOK(GameInteractor::OnLoadGame, CVAR_AUTOSAVE_VALUE,
|
||||
[](uint32_t fileNme) { lastSaveTimestamp = GetUnixTimestamp(); });
|
||||
COND_HOOK(GameInteractor::OnGameFrameUpdate, CVAR_AUTOSAVE_VALUE, Autosave_IntervalSave);
|
||||
|
||||
Reference in New Issue
Block a user