Skip to content

Commit 9e0bfe8

Browse files
committed
No comments
1 parent 33d2582 commit 9e0bfe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/TrainControlSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ SignalFeatures NextGenericSignalFeatures(string signalFunctionTypeName, int item
673673
foreach (var head in trainSignal.SignalObject.SignalHeads)
674674
if (head.Function == function)
675675
functionHead = head;
676-
if (functionHead != null)
676+
if (functionHead == null)
677677
goto Exit;
678678
signalTypeName = functionHead.SignalTypeName;
679679
foreach (var key in functionHead.signalType.DrawStates.Keys)

0 commit comments

Comments
 (0)