[2.0.13] Ctrl+z after copying train station settings doesn't undo the automatic train schedule change

Post your bugs and problems so we can fix them.
tryton984
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Nov 02, 2024 8:50 pm
Contact:

[2.0.13] Ctrl+z after copying train station settings doesn't undo the automatic train schedule change

Post by tryton984 »

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.
Mo-666
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Apr 23, 2024 5:51 am
Contact:

Re: [2.0.13] Ctrl+z after copying train station settings doesn't undo the automatic train schedule change

Post by Mo-666 »

Had the same issue, was about to report it, I accidently copied the wrong station and I pressed undo, ended messing up my smelting :lol:
I also hope it would undo the change on the trains as well
733a077edbf00d91cdddac093606cd3.png
733a077edbf00d91cdddac093606cd3.png (4.01 MiB) Viewed 139 times
Post Reply

Return to “Bug Reports”