1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +01:00

Don't prompt to 'Save game as' when saving (#16819)

After loading a saved game and choosing 'Save game', the 'Save game as' window would open the first time every time after loading the save.
Now, it will be saved using the existing save path, except when an autosave is loaded which the player probably doesn't want to overwrite.
This commit is contained in:
Rik Smeets
2022-09-25 08:33:28 +02:00
committed by GitHub
parent fd531903ce
commit 425000bfca
5 changed files with 19 additions and 4 deletions

View File

@@ -1000,6 +1000,7 @@ static void WindowLoadsaveSelect(rct_window* w, const char* path)
{
gScenarioSavePath = pathBuffer;
gCurrentLoadedPath = pathBuffer;
gIsAutosaveLoaded = false;
gFirstTimeSaving = false;
window_close_by_class(WindowClass::Loadsave);