map and load commands are now delayed until the video system is started, this fixes...
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 55aa68689643ba31d70ee1446be235d2517afd5b..c0a0777456449e027844baca8e7e1e5b90b527b6 100644 (file)
--- a/host.c
+++ b/host.c
@@ -786,6 +786,9 @@ 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;