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
|
@ -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