Stop searching when player was found

This commit is contained in:
Zwelf 2020-06-26 20:45:18 +02:00
parent b96544f8ac
commit c9f8cc99b1

View file

@ -674,6 +674,7 @@ bool CSaveTeam::MatchPlayers(const char (*paNames)[MAX_NAME_LENGTH], const int *
{ {
m_pSavedTees[i].SetClientID(pClientID[j]); m_pSavedTees[i].SetClientID(pClientID[j]);
Found = true; Found = true;
break;
} }
} }
if(!Found) if(!Found)