mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Only give team ranks to teams consisting of 2 players or more
This commit is contained in:
parent
aed599746e
commit
f87449d86c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue