X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fworld.qc;h=04706f615444d6dd93799473a4ef066b94b30c15;hb=01d975ef584acf1cfd3ecc739955ee10f916c75c;hp=6e79c73ef1c014d1de388729a8de6f15fdbffd1f;hpb=0a56f137a2821149693e7acafc28ff4e67b3fd60;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/world.qc b/qcsrc/server/world.qc index 6e79c73ef..04706f615 100644 --- a/qcsrc/server/world.qc +++ b/qcsrc/server/world.qc @@ -118,12 +118,7 @@ void GotoFirstMap(entity this) { // cvar_set("_sv_init", "0"); // we do NOT set this to 0 any more, so someone "accidentally" changing - // to this "init" map on a dedicated server will cause no permanent - // harm - if(autocvar_g_maplist_shuffle) - ShuffleMaplist(); - n = tokenizebyseparator(autocvar_g_maplist, " "); - cvar_set("g_maplist_index", ftos(n - 1)); // jump to map 0 in GotoNextMap + // to this "init" map on a dedicated server will cause no permanent harm MapInfo_Enumerate(); MapInfo_FilterGametype(MapInfo_CurrentGametype(), MapInfo_CurrentFeatures(), MapInfo_RequiredFlags(), MapInfo_ForbiddenFlags(), 0);