Skip to content

Commit e30b900

Browse files
authored
Fix wrong sound event
1 parent 19ee760 commit e30b900

File tree

1 file changed

+1
-1
lines changed
  • Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerSupplies

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerSupplies/BatterySwitch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public virtual void HandleEvent(PowerSupplyEvent evt)
343343
{
344344
case ModeType.Switch:
345345
CommandSwitch = false;
346-
Wagon.SignalEvent(Event.BatterySwitchCommandOn);
346+
Wagon.SignalEvent(Event.BatterySwitchCommandOff);
347347
break;
348348
case ModeType.PushButtons:
349349
CommandButtonOff = true;

0 commit comments

Comments
 (0)