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 19ee760 commit e30b900Copy full SHA for e30b900
Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerSupplies/BatterySwitch.cs
@@ -343,7 +343,7 @@ public virtual void HandleEvent(PowerSupplyEvent evt)
343
{
344
case ModeType.Switch:
345
CommandSwitch = false;
346
- Wagon.SignalEvent(Event.BatterySwitchCommandOn);
+ Wagon.SignalEvent(Event.BatterySwitchCommandOff);
347
break;
348
case ModeType.PushButtons:
349
CommandButtonOff = true;
0 commit comments