Skip to content

Commit 4b70d86

Browse files
committed
Prevent change to Auto Signal from Explorer due to clear request propagation
1 parent fc73ac8 commit 4b70d86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Source/Orts.Simulation/Simulation/Signalling/SignalObject.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2522,6 +2522,9 @@ private void propagateRequest()
25222522
// no. of next signals to clear : as passed on -1 if signal has normal clear ahead
25232523
// if passed on < 0, use this signals num to clear
25242524

2525+
// Do not propagate the request in explorer mode, as it is handled elsewhere
2526+
if (enabledTrain != null && enabledTrain.Train.ControlMode == Train.TRAIN_CONTROL.EXPLORER) return;
2527+
25252528
// sections not available
25262529
bool validPropagationRequest = true;
25272530
if (internalBlockState > InternalBlockstate.Reservable)

0 commit comments

Comments
 (0)