mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Revert "Call `LUAh_GameQuit` in 2 places."
This reverts commit 917ba7e505.
This commit is contained in:
parent
917ba7e505
commit
e5a5b4af42
2 changed files with 0 additions and 8 deletions
|
|
@ -171,7 +171,6 @@ static char returnWadPath[256];
|
||||||
#include "../d_net.h"
|
#include "../d_net.h"
|
||||||
#include "../g_game.h"
|
#include "../g_game.h"
|
||||||
#include "../filesrch.h"
|
#include "../filesrch.h"
|
||||||
#include "../lua_hook.h"
|
|
||||||
#include "endtxt.h"
|
#include "endtxt.h"
|
||||||
#include "sdlmain.h"
|
#include "sdlmain.h"
|
||||||
|
|
||||||
|
|
@ -304,9 +303,6 @@ FUNCNORETURN static ATTRNORETURN void signal_handler(INT32 num)
|
||||||
|
|
||||||
FUNCNORETURN static ATTRNORETURN void quit_handler(int num)
|
FUNCNORETURN static ATTRNORETURN void quit_handler(int num)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_BLUA
|
|
||||||
LUAh_GameQuit();
|
|
||||||
#endif
|
|
||||||
signal(num, SIG_DFL); //default signal action
|
signal(num, SIG_DFL); //default signal action
|
||||||
raise(num);
|
raise(num);
|
||||||
I_Quit();
|
I_Quit();
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,6 @@
|
||||||
#include "../console.h"
|
#include "../console.h"
|
||||||
#include "../command.h"
|
#include "../command.h"
|
||||||
#include "../r_main.h"
|
#include "../r_main.h"
|
||||||
#include "../lua_hook.h"
|
|
||||||
#include "sdlmain.h"
|
#include "sdlmain.h"
|
||||||
#ifdef HWRENDER
|
#ifdef HWRENDER
|
||||||
#include "../hardware/hw_main.h"
|
#include "../hardware/hw_main.h"
|
||||||
|
|
@ -1060,9 +1059,6 @@ void I_GetEvent(void)
|
||||||
M_SetupJoystickMenu(0);
|
M_SetupJoystickMenu(0);
|
||||||
break;
|
break;
|
||||||
case SDL_QUIT:
|
case SDL_QUIT:
|
||||||
#ifdef HAVE_BLUA
|
|
||||||
LUAh_GameQuit();
|
|
||||||
#endif
|
|
||||||
I_Quit();
|
I_Quit();
|
||||||
M_QuitResponse('y');
|
M_QuitResponse('y');
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue