Skip to content

Commit 01cbf08

Browse files
committed
Fix problem that occurred after rebase
1 parent 424f6d5 commit 01cbf08

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3839,6 +3839,13 @@ public override string GetDynamicBrakeStatus()
38393839
}
38403840
#endregion
38413841

3842+
public override void SignalEvent(TCSEvent evt)
3843+
{
3844+
TrainControlSystem.HandleEvent(evt);
3845+
3846+
base.SignalEvent(evt);
3847+
}
3848+
38423849
public override void SignalEvent(PowerSupplyEvent evt)
38433850
{
38443851
LocomotivePowerSupply.HandleEvent(evt);
@@ -3858,18 +3865,6 @@ public virtual void SetPower(bool toState)
38583865
LocomotivePowerSupply.HandleEvent(toState ? PowerSupplyEvent.QuickPowerOn : PowerSupplyEvent.QuickPowerOff);
38593866
}
38603867

3861-
public override void SignalEvent(TCSEvent evt)
3862-
{
3863-
TrainControlSystem.HandleEvent(evt);
3864-
3865-
base.SignalEvent(evt);
3866-
}
3867-
3868-
public override void SignalEvent(PowerSupplyEvent evt)
3869-
{
3870-
3871-
}
3872-
38733868
internal void ToggleMUCommand(bool ToState)
38743869
{
38753870
AcceptMUSignals = ToState;

0 commit comments

Comments
 (0)