Skip to content

Commit cd42df1

Browse files

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Controllers/MSTSBrakeController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public override void Initialize()
5959
public override void InitializeMoving()
6060
{
6161
NotchController.SetValue(0);
62-
NotchController.CurrentNotch = 0;
62+
if (NotchController.NotchCount() > 0) NotchController.CurrentNotch = 0;
6363
}
6464

6565
public override float Update(float elapsedSeconds)

0 commit comments

Comments
 (0)