]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
fix restart command
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index ecb1d31702b8ddfb4b0dd267a1ca409090c3f7a3..7233970b719aaa728dcc2493a4f23c36fcb702f1 100644 (file)
--- a/host.c
+++ b/host.c
@@ -730,6 +730,9 @@ void _Host_Frame (float time)
 // process console commands
        Cbuf_Execute ();
 
+       // LordHavoc: map and load are delayed until video is initialized
+       Host_PerformSpawnServerAndLoadGame();
+
        NET_Poll();
 
 // if running the server locally, make intentions now
@@ -789,9 +792,6 @@ void _Host_Frame (float time)
 
        CDAudio_Update();
 
-       // LordHavoc: map and load are delayed until video is initialized
-       Host_PerformSpawnServerAndLoadGame();
-
        if (host_speeds.integer)
        {
                pass1 = (time1 - time3)*1000000;