mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
fixed entering a private server on a map change without password. Closes #142
This commit is contained in:
parent
2a570196ef
commit
9130c91841
|
@ -1067,7 +1067,7 @@ int CServer::Run()
|
|||
|
||||
for(int c = 0; c < MAX_CLIENTS; c++)
|
||||
{
|
||||
if(m_aClients[c].m_State == CClient::STATE_EMPTY)
|
||||
if(m_aClients[c].m_State <= CClient::STATE_AUTH)
|
||||
continue;
|
||||
|
||||
SendMap(c);
|
||||
|
|
Loading…
Reference in a new issue