[2.0.13] Ctrl+z after copying train station settings doesn't undo the automatic train schedule change
Posted: Sat Nov 02, 2024 9:46 pm
A simple, easy to reproduce inconsistency within game's logic.
How to reproduce:
1. Create a rail with stations A and B at the ends.
2. Set a train to automatically travel between them (A -> B).
3. Copy train station A onto train station B. At this point in the train's schedule (automatically) station B will also change to the same name as station A, resulting in new schedule (A -> A).
4. Press ctrl+z (undo).
Result:
Train station B changes back to its original settings, but schedule of the train remains (A -> A).
Expected result:
The train schedule reverts back to it's original settings (A -> B).
I'd assume that when undoing an action, all of its automatic side effects would also be undone.
Especially that player is not notified of the automatic change, which can cause confusion when an action that one thought undone affects his game later.
It's even more important given that now our train path is broken, as its end stations are A and B, but train is set to drive on (A -> A) schedule.
How to reproduce:
1. Create a rail with stations A and B at the ends.
2. Set a train to automatically travel between them (A -> B).
3. Copy train station A onto train station B. At this point in the train's schedule (automatically) station B will also change to the same name as station A, resulting in new schedule (A -> A).
4. Press ctrl+z (undo).
Result:
Train station B changes back to its original settings, but schedule of the train remains (A -> A).
Expected result:
The train schedule reverts back to it's original settings (A -> B).
I'd assume that when undoing an action, all of its automatic side effects would also be undone.
Especially that player is not notified of the automatic change, which can cause confusion when an action that one thought undone affects his game later.
It's even more important given that now our train path is broken, as its end stations are A and B, but train is set to drive on (A -> A) schedule.