mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Stop searching when player was found
This commit is contained in:
parent
b96544f8ac
commit
c9f8cc99b1
|
@ -674,6 +674,7 @@ bool CSaveTeam::MatchPlayers(const char (*paNames)[MAX_NAME_LENGTH], const int *
|
|||
{
|
||||
m_pSavedTees[i].SetClientID(pClientID[j]);
|
||||
Found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!Found)
|
||||
|
|
Loading…
Reference in a new issue