Prevent dedi from ending up on titlescreen
Thanks Indev!
This commit is contained in:
parent
ba4718883c
commit
58e5cb079e
1 changed files with 6 additions and 0 deletions
|
|
@ -5844,6 +5844,12 @@ void Command_ExitGame_f(void)
|
||||||
{
|
{
|
||||||
INT32 i;
|
INT32 i;
|
||||||
|
|
||||||
|
if (dedicated)
|
||||||
|
{
|
||||||
|
CONS_Printf("This command cannot be used on dedicated server\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
LUA_HookBool(false, HOOK(GameQuit));
|
LUA_HookBool(false, HOOK(GameQuit));
|
||||||
|
|
||||||
D_QuitNetGame();
|
D_QuitNetGame();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue