mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Fix: Properly show 64 player servers
This commit is contained in:
parent
736891c945
commit
8af9f9d6a3
|
@ -1048,6 +1048,9 @@ void CClient::ProcessConnlessPacket(CNetChunk *pPacket)
|
||||||
|
|
||||||
if(net_addr_comp(&m_ServerAddress, &pPacket->m_Address) == 0)
|
if(net_addr_comp(&m_ServerAddress, &pPacket->m_Address) == 0)
|
||||||
{
|
{
|
||||||
|
if(m_CurrentServerInfo.m_MaxClients > VANILLA_MAX_CLIENTS)
|
||||||
|
return;
|
||||||
|
|
||||||
mem_copy(&m_CurrentServerInfo, &Info, sizeof(m_CurrentServerInfo));
|
mem_copy(&m_CurrentServerInfo, &Info, sizeof(m_CurrentServerInfo));
|
||||||
m_CurrentServerInfo.m_NetAddr = m_ServerAddress;
|
m_CurrentServerInfo.m_NetAddr = m_ServerAddress;
|
||||||
m_CurrentServerInfoRequestTime = -1;
|
m_CurrentServerInfoRequestTime = -1;
|
||||||
|
|
Loading…
Reference in a new issue