Only apply bonus to players who finished

This commit is contained in:
Beu 2024-04-05 15:12:29 +02:00
parent 51273a46ef
commit bade6e62c0
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ Integer GetFinishTimeout(Integer _FinishTimeout) {
Points = PointsRepartition[PointsRepartition.count - 1];
}
declare Integer CurrentSegment for Player.Score;
if (CurrentSegment == S_SegmentsPerRound) {
if (CurrentSegment == S_SegmentsPerRound && Scores::GetPlayerPrevRaceTime(Player.Score) > 0) {
Points += BonusForFinishers;
}
Scores::SetPlayerRoundPoints(Player.Score, Points);