mce: count connecting clients for player limits

This commit is contained in:
dogan 2020-11-03 14:19:30 +01:00
parent d2d41e46c5
commit 0b1fee4e78

View File

@ -2630,7 +2630,7 @@ stock int InternalGetMapTimeRestriction(const char[] map)
// >0 = More than MaxPlayers // >0 = More than MaxPlayers
stock int InternalGetMapPlayerRestriction(const char[] map) stock int InternalGetMapPlayerRestriction(const char[] map)
{ {
int NumPlayers = GetClientCount(); int NumPlayers = GetClientCount(false);
int MinPlayers = InternalGetMapMinPlayers(map); int MinPlayers = InternalGetMapMinPlayers(map);
int MaxPlayers = InternalGetMapMaxPlayers(map); int MaxPlayers = InternalGetMapMaxPlayers(map);