[1.0.0] [Minor] Train with only one stop in schedule shows Time Passed conditions being met imediately
Posted: Fri Oct 09, 2020 3:03 am
This might be intended behavior, but I couldn't find it documented yet.
To reproduce:
What I expected: First, that train schedule conditions would behave the same when only one stop is in the schedule, counting time from arrival at the Stop, even when there is no subsequent Stop for it to go afterwards. Second, that the departure behavior would be the same when either a Train Stop or Temporary Stop are next added to the schedule.
To reproduce:
- Create a train, track, Train Stop #1 and Train Stop #2.
- Add Stop #1 to the train's schedule.
- Add a "Time Passed = 30 seconds" condition to Stop #1 in the schedule.
- Send the train to Stop #1 in automatic mode.
- When the train arrives, see the "Time Passed" condition appear satisfied immediately.
- Add Stop #2 to the schedule.
- See the condition in Stop #1 reset and start counting time from zero, no matter how long it waited with the "Time Passed" condition appearing to be met.
- Remove Stop #2 from the schedule. See the condition appear satisfied immediately again.
- Shift-click the track to create a Temporary Stop.
- See the train immediately depart for the Temporary Stop without waiting 30 seconds.
What I expected: First, that train schedule conditions would behave the same when only one stop is in the schedule, counting time from arrival at the Stop, even when there is no subsequent Stop for it to go afterwards. Second, that the departure behavior would be the same when either a Train Stop or Temporary Stop are next added to the schedule.