From c9f8cc99b1e42ed11d819c6632f6283165e70901 Mon Sep 17 00:00:00 2001 From: Zwelf Date: Fri, 26 Jun 2020 20:45:18 +0200 Subject: [PATCH] Stop searching when player was found --- src/game/server/save.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/server/save.cpp b/src/game/server/save.cpp index a8a63c9cd..55b5ada76 100644 --- a/src/game/server/save.cpp +++ b/src/game/server/save.cpp @@ -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)