mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-04-03 17:01:19 +00:00
Merge branch 'fix-dedi-exitgame' into 'master'
Don't execute exitgame command on dedicated servers See merge request KartKrew/Kart-Public!359
This commit is contained in:
commit
156d3808e7
1 changed files with 6 additions and 0 deletions
|
@ -5352,6 +5352,12 @@ void Command_ExitGame_f(void)
|
|||
{
|
||||
INT32 i;
|
||||
|
||||
if (dedicated)
|
||||
{
|
||||
CONS_Printf("This command cannot be used on dedicated server\n");
|
||||
return;
|
||||
}
|
||||
|
||||
D_QuitNetGame();
|
||||
CL_Reset();
|
||||
CV_ClearChangedFlags();
|
||||
|
|
Loading…
Reference in a new issue