mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed empty names of joining players in the server browser. Closes #176
This commit is contained in:
parent
a730704d10
commit
35e9c76940
|
@ -919,7 +919,7 @@ void CServer::SendServerInfo(NETADDR *pAddr, int Token)
|
|||
{
|
||||
if(m_aClients[i].m_State != CClient::STATE_EMPTY)
|
||||
{
|
||||
p.AddString(m_aClients[i].m_aName, 48); // player name
|
||||
p.AddString(ClientName(i), 48); // player name
|
||||
str_format(aBuf, sizeof(aBuf), "%d", m_aClients[i].m_Score); p.AddString(aBuf, 6); // player score
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue