mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Let's call LUAh_GameQuit in D_QuitNetGame since that function is still called outside of netgames
However, the D_QuitNetGame function returns early if you are not in a netgame.
This commit is contained in:
parent
9bb2aa262e
commit
15aae435db
1 changed files with 4 additions and 0 deletions
|
|
@ -3188,6 +3188,10 @@ static inline void SV_GenContext(void)
|
||||||
//
|
//
|
||||||
void D_QuitNetGame(void)
|
void D_QuitNetGame(void)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_BLUA
|
||||||
|
LUAh_GameQuit();
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!netgame || !netbuffer)
|
if (!netgame || !netbuffer)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue