mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Oversight
This commit is contained in:
parent
2e137e6fc7
commit
254ff3dc6b
|
@ -585,7 +585,7 @@ int CServer::DistinctClientCount()
|
|||
if(m_aClients[i].m_State != CClient::STATE_EMPTY)
|
||||
{
|
||||
ClientCount++;
|
||||
for(int j = 0; j < MAX_CLIENTS; j++)
|
||||
for(int j = 0; j < i; j++)
|
||||
{
|
||||
if(!net_addr_comp_noport(&aAddresses[i], &aAddresses[j]))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue