1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Fix #4571: Only start autosave timer after update or game command

This commit is contained in:
LRFLEW
2016-12-19 15:08:19 -06:00
committed by Ted John
parent f25a0b383c
commit 8e449b9648
4 changed files with 21 additions and 9 deletions

View File

@@ -400,7 +400,7 @@ extern "C"
// #2407: Resetting screen time to not open a save prompt shortly after loading a park.
gScreenAge = 0;
gLastAutoSaveTick = SDL_GetTicks();
gLastAutoSaveUpdate = AUTOSAVE_PAUSE;
return result;
}
@@ -435,7 +435,7 @@ extern "C"
delete s6Importer;
gScreenAge = 0;
gLastAutoSaveTick = SDL_GetTicks();
gLastAutoSaveUpdate = AUTOSAVE_PAUSE;
return result;
}
@@ -470,7 +470,7 @@ extern "C"
delete s6Importer;
gScreenAge = 0;
gLastAutoSaveTick = SDL_GetTicks();
gLastAutoSaveUpdate = AUTOSAVE_PAUSE;
return result;
}
@@ -510,7 +510,7 @@ extern "C"
delete s6Importer;
gScreenAge = 0;
gLastAutoSaveTick = SDL_GetTicks();
gLastAutoSaveUpdate = AUTOSAVE_PAUSE;
return result;
}
@@ -568,7 +568,7 @@ extern "C"
gCheatsDisablePlantAging = SDL_ReadU8(rw) != 0;
gCheatsAllowArbitraryRideTypeChanges = SDL_ReadU8(rw) != 0;
gLastAutoSaveTick = SDL_GetTicks();
gLastAutoSaveUpdate = AUTOSAVE_PAUSE;
return 1;
}
}