diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATShiftStrategy.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATShiftStrategy.cs index 411d17352dcda0fe65dc85b6564ec39ebf4af313..30759237beb28c4a4a3ee4e8c73642d6b4582b37 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATShiftStrategy.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATShiftStrategy.cs @@ -126,7 +126,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl } // Emergency Upshift: if higher than engine rated speed - if (inAngularVelocity.IsGreaterOrEqual(DataBus.EngineRatedSpeed)) { + if (inAngularVelocity.IsGreaterOrEqual(DataBus.EngineRatedSpeed) && Data.Gears.ContainsKey(gear + 1)) { Log.Debug("engine speed would be above rated speed - shift up"); Upshift(absTime, gear); return true;