mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-11 13:21:56 +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
b067d1e134
commit
0e56202d63
1 changed files with 5 additions and 0 deletions
|
@ -4235,6 +4235,11 @@ void Command_ExitGame_f(void)
|
|||
{
|
||||
INT32 i;
|
||||
|
||||
#ifdef HAVE_BLUA
|
||||
if ((maptol) && (!dedicated))
|
||||
LUAh_GameQuit();
|
||||
#endif
|
||||
|
||||
D_QuitNetGame();
|
||||
CL_Reset();
|
||||
CV_ClearChangedFlags();
|
||||
|
|
Loading…
Reference in a new issue