mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-12 22:02:01 +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
bb08b55b43
commit
4d7f64a53d
1 changed files with 4 additions and 0 deletions
|
@ -3188,6 +3188,10 @@ static inline void SV_GenContext(void)
|
|||
//
|
||||
void D_QuitNetGame(void)
|
||||
{
|
||||
#ifdef HAVE_BLUA
|
||||
LUAh_GameQuit();
|
||||
#endif
|
||||
|
||||
if (!netgame || !netbuffer)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue