diff --git a/InSimDotNet/Helpers/HandicapHelper.cs b/InSimDotNet/Helpers/HandicapHelper.cs index bbb4949..64083bb 100644 --- a/InSimDotNet/Helpers/HandicapHelper.cs +++ b/InSimDotNet/Helpers/HandicapHelper.cs @@ -32,12 +32,13 @@ public static class HandicapHelper { /// /// Sets the handicap for the specified cars. /// - /// The packet containing the handicaps. - /// The added mass to set in kilograms (0 - 200). + /// The packet containing the handicaps. + /// The cars to set the handicap for. + /// The added mass to set in kilograms (0 - 200). /// The intake restriction to set (0 - 50). public static void SetHandicap(IS_HCP packet, CarFlags cars, byte H_Mass = 0, byte H_TRes = 0) { foreach (var car in CarMap) { - if (cars.HasFlag(car.Key) || cars.HasFlag(CarFlags.All)) { + if (cars.HasFlag(CarFlags.All) || cars.HasFlag(car.Key)) { packet.Info[car.Value].H_Mass = H_Mass; packet.Info[car.Value].H_TRes = H_TRes; }