Fix duplicate teamranks getting inserted

There was a logic error that caused the loop to never execute.
This commit is contained in:
heinrich5991 2021-02-27 22:35:44 +01:00
parent d7f0de3f29
commit dd964316cb

View file

@ -686,7 +686,7 @@ bool CScore::SaveTeamScoreThread(IDbConnection *pSqlServer, const ISqlData *pGam
}
if(!End)
{
bool SearchTeamEnd = true;
bool SearchTeamEnd = false;
while(!SearchTeamEnd)
{
Time = pSqlServer->GetFloat(3);