diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategyV2.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategyV2.cs index c6e03415d2d30657a0151105d1ca4bbda481c363..9d37ce9dbd1bba02d6146a83bf2eef4d77f3f633 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategyV2.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategyV2.cs @@ -251,7 +251,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl if (selectedGear < gear && (DownshiftAllowed(absTime) || inAngularVelocity < GetEngineSpeedLimitLow(false))) { _nextGear = selectedGear; } - if (selectedGear > gear && (UpshiftAllowed(absTime) || inAngularVelocity > minRating.MaxEngineSpeed)) { + if (selectedGear > gear && (UpshiftAllowed(absTime) || inAngularVelocity > GearRatings[gear].MaxEngineSpeed)) { _nextGear = selectedGear; }