]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix *-serverpackage.txt. Why did we add this anyway BTW? What was wrong with .serverp...
authorRudolf Polzer <divverent@xonotic.org>
Mon, 5 Aug 2013 08:04:11 +0000 (10:04 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 5 Aug 2013 08:04:11 +0000 (10:04 +0200)
qcsrc/server/g_world.qc

index 3043a30003a590f713fc6561074605fbf31d236f..7146c2fc727129e107d708a58e5fb905f1180a97 100644 (file)
@@ -887,7 +887,7 @@ void spawnfunc_worldspawn (void)
                s = "";
                n = tokenize_console(cvar_string("sv_curl_serverpackages"));
                for(i = 0; i < n; ++i)
-                       if(substring(argv(i), -14, -1) != "-serverpackage.txt")
+                       if(substring(argv(i), -18, -1) != "-serverpackage.txt")
                        if(substring(argv(i), -14, -1) != ".serverpackage") // OLD legacy
                                s = strcat(s, " ", argv(i));
                fd = search_begin("*-serverpackage.txt", TRUE, FALSE);