mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-02 23:12:09 +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
b6a2c21db7
commit
0de0ecb895
1 changed files with 2 additions and 2 deletions
|
|
@ -12535,6 +12535,8 @@ void M_QuitResponse(INT32 ch)
|
||||||
|
|
||||||
if (ch != 'y' && ch != KEY_ENTER)
|
if (ch != 'y' && ch != KEY_ENTER)
|
||||||
return;
|
return;
|
||||||
|
if (Playing())
|
||||||
|
LUAh_GameQuit();
|
||||||
if (!(netgame || cv_debug))
|
if (!(netgame || cv_debug))
|
||||||
{
|
{
|
||||||
S_ResetCaptions();
|
S_ResetCaptions();
|
||||||
|
|
@ -12551,8 +12553,6 @@ void M_QuitResponse(INT32 ch)
|
||||||
I_Sleep();
|
I_Sleep();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Playing())
|
|
||||||
LUAh_GameQuit();
|
|
||||||
I_Quit();
|
I_Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue