mce: count connecting clients for player limits
This commit is contained in:
		
							parent
							
								
									d2d41e46c5
								
							
						
					
					
						commit
						0b1fee4e78
					
				@ -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);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user