mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Let's just call LUAh_GameQuit in I_Quit anyways
This commit is contained in:
parent
38d7ad3e6a
commit
c76dfdf3c2
1 changed files with 5 additions and 0 deletions
|
|
@ -190,6 +190,8 @@ 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
|
||||||
|
|
@ -2279,6 +2281,9 @@ 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…
Add table
Reference in a new issue