]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.c
changed default value of con_closeontoggleconsole due to a never ending stream of...
[xonotic/darkplaces.git] / fs.c
diff --git a/fs.c b/fs.c
index 9219f4e1afc417c7feeedcb0736b38d60a434ff0..556384c0520f7421674811c2c03afc306c41a816 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1263,7 +1263,7 @@ void FS_GameDir_f (void)
        if (cls.demoplayback)
                CL_Disconnect();
 
-       if (cls.state != ca_disconnected || sv.active)
+       if (cls.state == ca_connected || sv.active)
        {
                // actually, changing during game would work fine, but would be stupid
                Con_Printf("Can not change gamedir while client is connected or server is running!\n");