mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #1831 from LRFLEW/save-prompt-fix
Fixed autosaves preventing saving before quitting dialog from appearing
This commit is contained in:
commit
ebf9a42956
|
@ -975,6 +975,7 @@ int scenario_save(SDL_RWops* rw, int flags)
|
|||
reset_loaded_objects();
|
||||
|
||||
gfx_invalidate_screen();
|
||||
if (!(flags & 0x80000000))
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_AGE, uint16) = 0;
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue