From 4edf9c920d039eb2d75b3719103294e9b293cb29 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 29 Jun 2026 09:26:42 -0400 Subject: [PATCH] [Bugfix] Autosave timestamp incorrectly seeded (#6566) --- soh/soh/Enhancements/QoL/Autosave.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/soh/soh/Enhancements/QoL/Autosave.cpp b/soh/soh/Enhancements/QoL/Autosave.cpp index 3ec3240048..3395c95640 100644 --- a/soh/soh/Enhancements/QoL/Autosave.cpp +++ b/soh/soh/Enhancements/QoL/Autosave.cpp @@ -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);