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 a84cab0 commit 8f8484cCopy full SHA for 8f8484c
Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerSupplies/BatterySwitch.cs
@@ -48,7 +48,6 @@ public BatterySwitch(MSTSWagon wagon)
48
Wagon = wagon;
49
50
Timer = new Timer(Wagon);
51
- Timer.Setup(DelayS);
52
}
53
54
public virtual void Parse(string lowercasetoken, STFReader stf)
@@ -91,6 +90,7 @@ public void Copy(BatterySwitch other)
91
90
92
public virtual void Initialize()
93
{
+ Timer.Setup(DelayS);
94
95
96
/// <summary>
0 commit comments