mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
Revert "Let's just call LUAh_GameQuit in I_Quit anyways"
This reverts commit 7c65577336
.
This commit is contained in:
parent
766ca2f5a5
commit
8b7f93d50a
1 changed files with 0 additions and 5 deletions
|
@ -190,8 +190,6 @@ static char returnWadPath[256];
|
||||||
#include "../byteptr.h"
|
#include "../byteptr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../lua_hook.h"
|
|
||||||
|
|
||||||
/** \brief The JoyReset function
|
/** \brief The JoyReset function
|
||||||
|
|
||||||
\param JoySet Joystick info to reset
|
\param JoySet Joystick info to reset
|
||||||
|
@ -2281,9 +2279,6 @@ void I_Quit(void)
|
||||||
if (quiting) goto death;
|
if (quiting) goto death;
|
||||||
SDLforceUngrabMouse();
|
SDLforceUngrabMouse();
|
||||||
quiting = SDL_FALSE;
|
quiting = SDL_FALSE;
|
||||||
#ifdef HAVE_BLUA
|
|
||||||
LUAh_GameQuit();
|
|
||||||
#endif
|
|
||||||
M_SaveConfig(NULL); //save game config, cvars..
|
M_SaveConfig(NULL); //save game config, cvars..
|
||||||
#ifndef NONET
|
#ifndef NONET
|
||||||
D_SaveBan(); // save the ban list
|
D_SaveBan(); // save the ban list
|
||||||
|
|
Loading…
Reference in a new issue