mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-05 00:12:16 +00:00
Let's just call LUAh_GameQuit in Command_ExitGame_f during its execution if you are in game and are not a dedicated server
This commit is contained in:
parent
e5a5b4af42
commit
38d7ad3e6a
1 changed files with 5 additions and 0 deletions
|
|
@ -4235,6 +4235,11 @@ void Command_ExitGame_f(void)
|
||||||
{
|
{
|
||||||
INT32 i;
|
INT32 i;
|
||||||
|
|
||||||
|
#ifdef HAVE_BLUA
|
||||||
|
if ((maptol) && (!dedicated))
|
||||||
|
LUAh_GameQuit();
|
||||||
|
#endif
|
||||||
|
|
||||||
D_QuitNetGame();
|
D_QuitNetGame();
|
||||||
CL_Reset();
|
CL_Reset();
|
||||||
CV_ClearChangedFlags();
|
CV_ClearChangedFlags();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue