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:
Zachary McAlpin 2020-03-15 00:28:41 -05:00
parent b067d1e134
commit 0e56202d63

View file

@ -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();