From 5b593478f3bc0e0fa0fee270b6c912d1955ab359 Mon Sep 17 00:00:00 2001 From: maciejpedzich Date: Fri, 28 Feb 2025 23:10:57 +0100 Subject: [PATCH] fix: correct wrong InfringementType variant values and add some missing ones. --- src/constants/mod.rs | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/constants/mod.rs b/src/constants/mod.rs index 3d95000..3384540 100644 --- a/src/constants/mod.rs +++ b/src/constants/mod.rs @@ -666,18 +666,20 @@ pub enum InfringementType { SafetyCarExceedingAllowedPace = 37, VirtualSafetyCarExceedingAllowedPace = 38, FormationLapBelowAllowedSpeed = 39, - RetiredMechanicalFailure = 40, - RetiredTerminallyDamaged = 41, - SafetyCarFallingTooFarBack = 42, - BlackFlagTimer = 43, - UnservedStopGoPenalty = 44, - UnservedDriveThroughPenalty = 45, - EngineComponentChange = 46, - GearboxChange = 47, - LeagueGridPenalty = 48, - RetryPenalty = 49, - IllegalTimeGain = 50, - MandatoryPitStop = 51, + FormationLapParking = 40, + RetiredMechanicalFailure = 41, + RetiredTerminallyDamaged = 42, + SafetyCarFallingTooFarBack = 43, + BlackFlagTimer = 44, + UnservedStopGoPenalty = 45, + UnservedDriveThroughPenalty = 46, + EngineComponentChange = 47, + GearboxChange = 48, + ParcFermeChange = 49, + LeagueGridPenalty = 50, + RetryPenalty = 51, + IllegalTimeGain = 52, + MandatoryPitStop = 53, AttributeAssigned = 54, }