
Train Destination settings shows incorrect destination upon new schedule section / change
racemaniak2000 opened this issue ยท 0 comments
Version:
- Minecraft Version: 1.21.1
- Forge Version: Neoforge 21.1.208
- Mod Version: 1.21.1-beta-0.8.4
Describe the bug
Displays set to Train Destination on assembled and running trains function as expected anywhere besides the last stops of their schedule section. Once they reach the end and start a new schedule section, the destination seems to be set to the current station instead of the real terminus. The advanced setting does show its other stops correctly, the only incorrect one is the last stop for which it instead displays the current station. I suspect that the displayed value is a stored string which is incorrectly determined or is stored before the new schedule section is active. Once the train leaves the first stop, the destination gets set correctly.
To Reproduce
- Create a train network consisting of 2 terminus stations and 1 through station between them.
- Create a train with displays set to train destination.
- Run the train on a schedule between the two termini, see the screenshots section for the specific schedule which caused this for me.
- Note how the text on the displays once the train has reached its terminus and updated its schedule for the next leg is not its destination but instead where it is currently and has terminated.
- Once the train departs the station, note how the display changes to show the correct destination.
Expected behavior
When the scheduling begins a new section at a station, the destination for train destination displays should be set to the last station of the schedule section.
Screenshots
Platform display (correct) and on-train display (incorrect). Pictured train is stationed at 'Bridgeton'.
On-train display set to train destination and advanced. The last stop should be 'Greenvale' but is instead the first stop.
On-train display set to passenger information showing correct info.
Stations locations and tracks.
Additional context
The Sunford station is a one-way station, only serving trains toward Greenvale. No idea if that might affect it, probably not, but just in case.