mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Actually check all tees. Fixes #3697
This commit is contained in:
parent
e668039407
commit
a3dd47d7e8
|
@ -1868,7 +1868,7 @@ bool CScore::LoadTeamThread(IDbConnection *pSqlServer, const ISqlData *pGameData
|
|||
bool Found = false;
|
||||
for(int i = 0; i < pResult->m_SavedTeam.GetMembersCount(); i++)
|
||||
{
|
||||
if(str_comp(pResult->m_SavedTeam.m_pSavedTees->GetName(), pData->m_RequestingPlayer) == 0)
|
||||
if(str_comp(pResult->m_SavedTeam.m_pSavedTees[i].GetName(), pData->m_RequestingPlayer) == 0)
|
||||
{
|
||||
Found = true;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue