]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix a bug where dedicated servers might not respond to typing in the server console...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 28 May 2006 19:36:23 +0000 (19:36 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 28 May 2006 19:36:23 +0000 (19:36 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6400 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index 0623c1ac3a579ce1e4fdd68d0466b218f7d32057..9f48080d1bf11c33f1ea0f999c9e1da1ced469fa 100644 (file)
--- 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