[2.0.8] Out of fuel train with reserved path
Posted: Tue Oct 22, 2024 5:52 pm
TL;DR Train has reserved a path through a block and the signals are yellow. The train then runs out of fuel and comes to a stop before entering the block, but the path remains reserved and is preventing other trains from entering the block.
Reproduction
1) Load this save file (110MB, self hosted)
2) Go to -268, -166, Nauvis (linked in chat, also in image below)
3) Train is not in the block, has no fuel, is not expecting fuel, and has 0 speed; but still has path reserved.
The Issue
A block is not expected to be reserved if a train has stopped moving outside of the block, it should be unreserved once it becomes impossible for the train to enter the block without external intervention.

Reproduction
1) Load this save file (110MB, self hosted)
2) Go to -268, -166, Nauvis (linked in chat, also in image below)
3) Train is not in the block, has no fuel, is not expecting fuel, and has 0 speed; but still has path reserved.
The Issue
A block is not expected to be reserved if a train has stopped moving outside of the block, it should be unreserved once it becomes impossible for the train to enter the block without external intervention.
