Revert "Let's just call LUAh_GameQuit in I_Quit anyways"

This reverts commit c76dfdf3c2.
This commit is contained in:
Zachary McAlpin 2020-03-15 10:33:24 -05:00
parent 9ca79b4d8b
commit 2959e3d299

View file

@ -190,8 +190,6 @@ static char returnWadPath[256];
#include "../byteptr.h"
#endif
#include "../lua_hook.h"
/** \brief The JoyReset function
\param JoySet Joystick info to reset
@ -2281,9 +2279,6 @@ void I_Quit(void)
if (quiting) goto death;
SDLforceUngrabMouse();
quiting = SDL_FALSE;
#ifdef HAVE_BLUA
LUAh_GameQuit();
#endif
M_SaveConfig(NULL); //save game config, cvars..
#ifndef NONET
D_SaveBan(); // save the ban list