Only apply bonus to players who finished
This commit is contained in:
1 parent
51273a46ef
commit
bade6e62c0
1 file changed
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user