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 1ef52c6 commit a0ffa96Copy full SHA for a0ffa96
Source/RunActivity/Viewer3D/RollingStock/MSTSLocomotiveViewer.cs
@@ -2130,7 +2130,8 @@ public virtual int GetDrawIndex()
2130
break;
2131
case CABViewControlTypes.DYNAMIC_BRAKE:
2132
case CABViewControlTypes.DYNAMIC_BRAKE_DISPLAY:
2133
- var dynBrakePercent = Locomotive.DynamicBrakeController.CurrentValue;
+ var dynBrakePercent = Locomotive.Train.TrainType == Train.TRAINTYPE.AI_PLAYERHOSTING ?
2134
+ Locomotive.DynamicBrakePercent : Locomotive.LocalDynamicBrakePercent;
2135
if (Locomotive.DynamicBrakeController != null)
2136
{
2137
if (dynBrakePercent <= 0)
0 commit comments