diff options
| author | Jordan Longstaff <JordanLongstaff@users.noreply.github.com> | 2026-08-07 16:44:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-07 15:44:30 -0500 |
| commit | 546243636fc14448fb7260170afe56ad4c76a07b (patch) | |
| tree | 88082abe0c33aa9e59929bec7ec894b2d5269a1d /mm/2s2h/Enhancements/Saving/AutoSave.cpp | |
| parent | b8f855a975f2cc3be7a62a572f68c04a4a41ea54 (diff) | |
Time Moves When You Move: fix saving zero time speed (#1850)develop-keiichi
* Time Moves When You Move: fix saving zero time speed
* Fix oversight with Autosave
* OnSaveLoad hook repairs broken time speed
* Check text ID in choice condition
* Add Game Over save prompt as condition
* Guaranteed save file repair hook
Diffstat (limited to 'mm/2s2h/Enhancements/Saving/AutoSave.cpp')
| -rw-r--r-- | mm/2s2h/Enhancements/Saving/AutoSave.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/2s2h/Enhancements/Saving/AutoSave.cpp b/mm/2s2h/Enhancements/Saving/AutoSave.cpp index 1495069f5..69d424e8c 100644 --- a/mm/2s2h/Enhancements/Saving/AutoSave.cpp +++ b/mm/2s2h/Enhancements/Saving/AutoSave.cpp @@ -47,6 +47,11 @@ void HandleAutoSave() { return; } + // Time must be moving for autosave to work. Fixes an issue with Time Moves When You Move. + if (gSaveContext.save.timeSpeedOffset == -R_TIME_SPEED && R_TIME_SPEED != 0) { + return; + } + // If owl save available to create, do it and reset the interval. if (SavingEnhancements_CanSave() && gPlayState->pauseCtx.state == 0) { |
