Issue description
In certain station configurations, some trains in the train network exhibit strange behavior. A train unloads its cargo, immediately accepts a new order, and travels empty from its originating station to its destination station. Naturally, it doesn't unload anything there. It's an empty run.
Reproduction steps
The attached save file explains everything. You just need to let the train run a few laps. After each normal delivery run, it starts running empty.
In the attached file, the example train even runs two empty laps at certain intervals.
The track layout in the attached save file is somewhat contrived, but it quickly illustrates what I mean. I don't have a real save file. It was very difficult to locate the error there.
Game version and build number
v0.8.7
Operating system
Windows
Attachments
Network-Bug.save