From: Mario Date: Tue, 20 Feb 2018 06:47:25 +0000 (+1000) Subject: Allow undefined maximum players X-Git-Tag: xonotic-v0.8.5~2294 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2f5be21fe236bb7692ab8fc849583922b1833591;p=xonotic%2Fxonotic-data.pk3dir.git Allow undefined maximum players --- diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 16303bd39..8dffcaf09 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -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;