Only apply bonus to players who finished
This commit is contained in:
parent
51273a46ef
commit
bade6e62c0
@ -674,7 +674,7 @@ Integer GetFinishTimeout(Integer _FinishTimeout) {
|
|||||||
Points = PointsRepartition[PointsRepartition.count - 1];
|
Points = PointsRepartition[PointsRepartition.count - 1];
|
||||||
}
|
}
|
||||||
declare Integer CurrentSegment for Player.Score;
|
declare Integer CurrentSegment for Player.Score;
|
||||||
if (CurrentSegment == S_SegmentsPerRound) {
|
if (CurrentSegment == S_SegmentsPerRound && Scores::GetPlayerPrevRaceTime(Player.Score) > 0) {
|
||||||
Points += BonusForFinishers;
|
Points += BonusForFinishers;
|
||||||
}
|
}
|
||||||
Scores::SetPlayerRoundPoints(Player.Score, Points);
|
Scores::SetPlayerRoundPoints(Player.Score, Points);
|
||||||
|
Loading…
Reference in New Issue
Block a user