mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Update 64 player server infos
This commit is contained in:
parent
c90568ce71
commit
333efc37b0
|
@ -1282,7 +1282,12 @@ void CServer::UpdateServerInfo()
|
|||
for(int i = 0; i < MAX_CLIENTS; ++i)
|
||||
{
|
||||
if(m_aClients[i].m_State != CClient::STATE_EMPTY)
|
||||
SendServerInfo(m_NetServer.ClientAddr(i), -1);
|
||||
{
|
||||
if (m_aClients[i].m_CustClt)
|
||||
SendServerInfo(m_NetServer.ClientAddr(i), -1, true);
|
||||
else
|
||||
SendServerInfo(m_NetServer.ClientAddr(i), -1, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue