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

This reverts commit 7c65577336.
This commit is contained in:
Zachary McAlpin 2020-03-15 10:33:24 -05:00
parent 766ca2f5a5
commit 8b7f93d50a

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