We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d599941 commit 72b9655Copy full SHA for 72b9655
Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs
@@ -3120,7 +3120,7 @@ public virtual void UpdateFrictionCoefficient(float elapsedClockSeconds)
3120
Train.SlipperySpotLengthM = 10 + 40 * (float)Simulator.Random.NextDouble();
3121
Train.SlipperySpotDistanceM = Train.SlipperySpotLengthM + 2000 * (float)Simulator.Random.NextDouble();
3122
}
3123
- if (Train.SlipperySpotDistanceM < Train.SlipperySpotLengthM)
+ if (Train.SlipperySpotDistanceM < Train.SlipperySpotLengthM && Simulator.Settings.AdhesionFactorChange > 0)
3124
{
3125
if (BaseFrictionCoefficientFactor > 0.6 && BaseFrictionCoefficientFactor < 0.8)
3126
0 commit comments