Skip to content

Commit fb99b88

Browse files
authored
Merge pull request #441 from Sharpe49/fix-obstructed-block
Fix obstructed block for non-normal signal on a track circuit at the end of the track
2 parents 126e440 + e63df98 commit fb99b88

File tree

1 file changed

+1
-1
lines changed
  • Source/Orts.Simulation/Simulation/Signalling

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Simulation/Signalling/Signals.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11096,7 +11096,7 @@ private void getBlockState_notRouted()
1109611096

1109711097
// if section has signal at end stop check
1109811098

11099-
if (thisSection.EndSignals[direction] != null)
11099+
if (thisSection.EndSignals[direction] != null || thisSection.CircuitType == TrackCircuitSection.TrackCircuitType.EndOfTrack)
1110011100
{
1110111101
thisSection = null;
1110211102
}

0 commit comments

Comments
 (0)