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 0c70b03..7f831d2 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;