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.
2 parents 71c4e89 + 6ff61f5 commit 0c860a3Copy full SHA for 0c860a3
Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs
@@ -5208,7 +5208,7 @@ public virtual float GetDataOf(CabViewControl cvc)
5208
break;
5209
5210
case CABViewControlTypes.ORTS_BATTERY_SWITCH_COMMAND_BUTTON_OPEN:
5211
- data = LocomotivePowerSupply.BatterySwitch.CommandButtonOn ? 1 : 0;
+ data = LocomotivePowerSupply.BatterySwitch.CommandButtonOff ? 1 : 0;
5212
5213
5214
case CABViewControlTypes.ORTS_BATTERY_SWITCH_ON:
0 commit comments