]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix gametype loading
authorMario <mario@smbclan.net>
Wed, 14 Oct 2015 12:59:36 +0000 (22:59 +1000)
committerMario <mario@smbclan.net>
Wed, 14 Oct 2015 12:59:36 +0000 (22:59 +1000)
qcsrc/server/g_world.qc

index 8dc68f6961e7334885fd5a9f40532cfad898da2b..cd362e7d60a94eb681f5547322559b9375041107 100644 (file)
@@ -602,7 +602,6 @@ spawnfunc(worldspawn)
 
        // needs to be done so early because of the constants they create
        static_init();
-       static_init_late();
 
        ServerProgsDB = db_load(strcat("server.db", autocvar_sessionid));
 
@@ -657,6 +656,7 @@ spawnfunc(worldspawn)
        PlayerStats_GameReport_Init(); // we need this to be initiated before InitGameplayMode
 
        InitGameplayMode();
+       static_init_late();
        readlevelcvars();
        GrappleHookInit();