mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-06-09 04:40:26 -04:00
Prevent game from closing whilst autosaving (#967)
This commit is contained in:
@@ -34,8 +34,14 @@ int Window_OnSDLEvent(void*, SDL_Event* event)
|
||||
switch (event->type)
|
||||
{
|
||||
case SDL_QUIT:
|
||||
{
|
||||
if (App::s_isSaving)
|
||||
break;
|
||||
|
||||
App::Exit();
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case SDL_KEYDOWN:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user