mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Sort playerlist inside game from Player tab
This commit is contained in:
parent
2c610053c1
commit
f13f040468
|
@ -214,10 +214,10 @@ void CMenus::RenderPlayers(CUIRect MainView)
|
|||
|
||||
for(int i = 0, Count = 0; i < MAX_CLIENTS; ++i)
|
||||
{
|
||||
if(!m_pClient->m_Snap.m_paInfoByTeam[i])
|
||||
if(!m_pClient->m_Snap.m_paInfoByName[i])
|
||||
continue;
|
||||
|
||||
int Index = m_pClient->m_Snap.m_paInfoByTeam[i]->m_ClientID;
|
||||
int Index = m_pClient->m_Snap.m_paInfoByName[i]->m_ClientID;
|
||||
|
||||
if(Index == m_pClient->m_Snap.m_LocalClientID)
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue