From: havoc Date: Sun, 28 May 2006 19:36:23 +0000 (+0000) Subject: fix a bug where dedicated servers might not respond to typing in the server console... X-Git-Tag: xonotic-v0.1.0preview~3970 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=25cf76bf27999cd9142c0821ef55a64169896b41;p=xonotic%2Fdarkplaces.git 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 --- 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