]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert fs_rescan on listen servers
authorTimePath <andrew.hardaker1995@gmail.com>
Tue, 12 Jan 2016 01:52:28 +0000 (12:52 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Tue, 12 Jan 2016 01:52:28 +0000 (12:52 +1100)
qcsrc/server/g_world.qc

index 0c70b03845068392ff4c117f7e74f47a90bfaece..7f831d252cd751a9add99c3b43eecf09748c713a 100644 (file)
@@ -571,7 +571,7 @@ spawnfunc(worldspawn)
                if (!server_is_dedicated)
                {
                        // force unloading of server pk3 files when starting a listen server
-                       localcmd("\nfs_rescan\n");
+                       // localcmd("\nfs_rescan\n"); // FIXME: does more harm than good, has unintended side effects. What we really want is to unload temporary pk3s only
                        // restore csqc_progname too
                        string expect = "csprogs.dat";
                        wantrestart = cvar_string_normal("csqc_progname") != expect;