fix quit not quitting on a dedicated server

This commit is contained in:
Bill Currie 2002-07-21 03:55:10 +00:00
parent f1423cb0b3
commit 337deae4ae

View file

@ -1333,7 +1333,7 @@ void
Host_InitCommands (void)
{
Cmd_AddCommand ("status", Host_Status_f, "No Description");
if (!con_module)
if (!con_module || isDedicated)
Cmd_AddCommand ("quit", Host_Quit_f, "No Description");
Cmd_AddCommand ("god", Host_God_f, "No Description");
Cmd_AddCommand ("notarget", Host_Notarget_f, "No Description");