mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-24 11:42:03 +00:00
Execute LUAh_GameQuit earlier in M_QuitResponse
It just feels a bit funny to execute LUAh_GameQuit if you are playing a session after the quit screen appears instead of before.
This commit is contained in:
parent
31b19f69a2
commit
f6120410fb
1 changed files with 2 additions and 2 deletions
|
@ -12535,6 +12535,8 @@ void M_QuitResponse(INT32 ch)
|
|||
|
||||
if (ch != 'y' && ch != KEY_ENTER)
|
||||
return;
|
||||
if (Playing())
|
||||
LUAh_GameQuit();
|
||||
if (!(netgame || cv_debug))
|
||||
{
|
||||
S_ResetCaptions();
|
||||
|
@ -12551,8 +12553,6 @@ void M_QuitResponse(INT32 ch)
|
|||
I_Sleep();
|
||||
}
|
||||
}
|
||||
if (Playing())
|
||||
LUAh_GameQuit();
|
||||
I_Quit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue