Issue description
When a train on a network finished one job unloading at a station, and the next job it picks up is to load from the same station, it will assume it's done that and leave empty.
It fixes itself eventually, but the train basically does the trip 3 times (there, back, there again this time with cargo) instead of once.
Not sure if this is relevant but I'm using flatbed wagons, not universal ones.
Hopefully this is clear, otherwise I can probably build a small network in the sandbox to demonstrate.
Reproduction steps
- Create a station which has both load and unload modules of the same category, eg. unload electronics, load electronics 2. This must be a single station.
- Add this station, along with a source for electronics and sink for electronics 2 to a network.
- Add a train to the network.
- Either wait for it to happen naturally, or force a situation where the train has a job unloading electronics immediately followed by loading electronics.
Game version and build number
v0.8.7d (b619)
Operating system
Linux