From: Mario Date: Wed, 14 Oct 2015 12:59:36 +0000 (+1000) Subject: Fix gametype loading X-Git-Tag: xonotic-v0.8.2~1801^2~33 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7e8c765846d06ffe0a981be7b8d48191af96c695;p=xonotic%2Fxonotic-data.pk3dir.git Fix gametype loading --- diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 8dc68f696..cd362e7d6 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -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();