mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix erroneous "unable to find all characters" message
This commit is contained in:
parent
e39a53d379
commit
17bb4522fc
|
@ -436,10 +436,10 @@ int CSaveTeam::save(int Team)
|
|||
CCharacter *p = (CCharacter *)m_pController->GameServer()->m_World.FindFirst(CGameWorld::ENTTYPE_CHARACTER);
|
||||
for(; p; p = (CCharacter *)p->TypeNext())
|
||||
{
|
||||
if(m_MembersCount == j)
|
||||
return 3;
|
||||
if(Teams->m_Core.Team(p->GetPlayer()->GetCID()) != Team)
|
||||
continue;
|
||||
if(m_MembersCount == j)
|
||||
return 3;
|
||||
m_pSavedTees[j].save(p);
|
||||
j++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue