[2.0.20] Signal parameter does not update when used in the wait condition of an interrupt target stop.
Posted: Tue Nov 19, 2024 11:00 pm
What did you do?
I set the wait condition for the target stop, "[virtual-signal=signal-signal-parameter]Pick-Up 1-2-1", of a train interrupt to "Station is full" and changed the stop name of the wait condition to a parameterized station name using the signal parameter icon, "[virtual-signal=signal-signal-parameter]Drop-Off 1-2-1". The interrupt is triggered by a constant combinator sending multiple circuit signals to the train when it is stopped at a train stop.
What happened?
When the interrupt is triggered by a circuit signal the target stop, "[virtual-signal=signal-signal-parameter]Pick-Up 1-2-1", signal parameter is replaced by the circuit signal item, but the wait condition stop signal parameter is not updated to match the circuit signal item.
What did you expect to happen instead? It might be obvious to you, but do it anyway!
The signal parameter in the name of the stop in the wait condition of the target stop should be updated with the item sent to the train from the circuit network to be the same as the signal parameter in the name of the target stop.
Does it happen always, once, or sometimes?
The bug occurs every time the interrupt is triggered.
Here is an image of the train schedule and interrupt causing the bug:
I set the wait condition for the target stop, "[virtual-signal=signal-signal-parameter]Pick-Up 1-2-1", of a train interrupt to "Station is full" and changed the stop name of the wait condition to a parameterized station name using the signal parameter icon, "[virtual-signal=signal-signal-parameter]Drop-Off 1-2-1". The interrupt is triggered by a constant combinator sending multiple circuit signals to the train when it is stopped at a train stop.
What happened?
When the interrupt is triggered by a circuit signal the target stop, "[virtual-signal=signal-signal-parameter]Pick-Up 1-2-1", signal parameter is replaced by the circuit signal item, but the wait condition stop signal parameter is not updated to match the circuit signal item.
What did you expect to happen instead? It might be obvious to you, but do it anyway!
The signal parameter in the name of the stop in the wait condition of the target stop should be updated with the item sent to the train from the circuit network to be the same as the signal parameter in the name of the target stop.
Does it happen always, once, or sometimes?
The bug occurs every time the interrupt is triggered.
Here is an image of the train schedule and interrupt causing the bug: