Only give team ranks to teams consisting of 2 players or more

This commit is contained in:
def 2013-12-10 18:45:28 +01:00
parent aed599746e
commit f87449d86c

View file

@ -362,7 +362,7 @@ void CGameTeams::OnTeamFinish(CPlayer** Players, unsigned int Size)
PlayerCIDs[i] = Players[i]->GetCID();
}
if (CallSaveScore)
if (CallSaveScore && Size >= 2)
GameServer()->Score()->SaveTeamScore(PlayerCIDs, Size, time);
}