Skip to content

Commit 03a1d12

Browse files
committed
1 parent f1405fb commit 03a1d12

File tree

1 file changed

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

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,7 @@ public void Parse(string lowercasetoken, STFReader stf)
9191
switch (lowercasetoken)
9292
{
9393
case "engine(ortscircuitbreaker":
94-
if (Locomotive.Train as AITrain == null)
95-
{
96-
ScriptName = stf.ReadStringBlock(null);
97-
}
94+
ScriptName = stf.ReadStringBlock(null);
9895
break;
9996

10097
case "engine(ortscircuitbreakerclosingdelay":

0 commit comments

Comments
 (0)