Prevent dedi from ending up on titlescreen

Thanks Indev!
This commit is contained in:
NepDisk 2025-03-24 22:12:00 -04:00
parent ba4718883c
commit 58e5cb079e

View file

@ -5844,6 +5844,12 @@ void Command_ExitGame_f(void)
{
INT32 i;
if (dedicated)
{
CONS_Printf("This command cannot be used on dedicated server\n");
return;
}
LUA_HookBool(false, HOOK(GameQuit));
D_QuitNetGame();