From 25cf76bf27999cd9142c0821ef55a64169896b41 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 28 May 2006 19:36:23 +0000 Subject: [PATCH] fix a bug where dedicated servers might not respond to typing in the server console if no map is currently running (which is rare) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6400 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/host.c b/host.c index 0623c1ac..9f48080d 100644 --- a/host.c +++ b/host.c @@ -625,6 +625,9 @@ void Host_Main(void) // //------------------- + // check for commands typed to the host + Host_GetConsoleCommands(); + if (sv_timer > 0) { if (!sv.active) @@ -646,9 +649,6 @@ void Host_Main(void) // the middle of Host_Frame NetConn_ServerFrame(); - // check for commands typed to the host - Host_GetConsoleCommands(); - // run the world state // don't allow simulation to run too fast or too slow or logic glitches can occur -- 2.39.2