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:
Zachary McAlpin 2020-03-12 12:45:41 -05:00
parent bb08b55b43
commit 4d7f64a53d

View file

@ -3188,6 +3188,10 @@ static inline void SV_GenContext(void)
//
void D_QuitNetGame(void)
{
#ifdef HAVE_BLUA
LUAh_GameQuit();
#endif
if (!netgame || !netbuffer)
return;