From 337deae4ae61cb345a1bf1f06bcd75ed84cbe5a1 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 21 Jul 2002 03:55:10 +0000 Subject: [PATCH] fix quit not quitting on a dedicated server --- nq/source/host_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nq/source/host_cmd.c b/nq/source/host_cmd.c index d660f0c6d..4b00e20c6 100644 --- a/nq/source/host_cmd.c +++ b/nq/source/host_cmd.c @@ -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");