]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Allow undefined maximum players
authorMario <mario@smbclan.net>
Tue, 20 Feb 2018 06:47:25 +0000 (16:47 +1000)
committerMario <mario@smbclan.net>
Tue, 20 Feb 2018 06:48:08 +0000 (16:48 +1000)
qcsrc/server/g_world.qc

index 16303bd39f8a1092df21f37ef3bda62a8b950408..8dffcaf09476a95dfb1c9c94ca24b0da5c48289c 100644 (file)
@@ -1020,7 +1020,7 @@ float MapHasRightSize(string map)
                        LOG_TRACE("not enough");
                        return false;
                }
-               if(player_count > mapmax)
+               if(mapmax && player_count > mapmax)
                {
                        LOG_TRACE("too many");
                        return false;