Page 1 of 1

[1.1.39] Trains are not rebuilt correctly after performing UNDO

Posted: Tue Sep 07, 2021 1:13 pm
by dabalciunas
Hi,

Trains on curved trails, especially when next to other trains, get rebuilt incorrectly when one deconstructs them and then undo the deconstruction. This happens with standard vanilla Factorio. See following screenshots:



1. Initial setup
1.jpg
1.jpg (196.5 KiB) Viewed 1629 times


2. Deconstruct right side
2.jpg
2.jpg (207.84 KiB) Viewed 1629 times


3. After deconstruction. Now undo with Ctrl+Z
3.jpg
3.jpg (170.53 KiB) Viewed 1629 times


4. Final result of undo after bots finished the reconstruction
4.jpg
4.jpg (188.34 KiB) Viewed 1629 times


5. The right train is incomplete, and has to be reconstructed manually, there is no other solution,
i.e. The undo action has permanently broken the right train.

Factorio 1.1.39, build 58937, win64

Re: Trains are not rebuilt correctly after performing UNDO

Posted: Tue Sep 07, 2021 1:17 pm
by dabalciunas
The minimal setup for reproducing this bug can be found in this attached savegame.

Re: [1.1.39] Trains are not rebuilt correctly after performing UNDO

Posted: Tue Sep 07, 2021 3:15 pm
by boskid
Hm... this looks to be related to removing train with rails because rolling stocks when placed by the undo action will not stay over the ghost rails but will snap onto real rails that are 2 tiles to the left.

Re: [1.1.39] Trains are not rebuilt correctly after performing UNDO

Posted: Sun Sep 12, 2021 7:33 pm
by dabalciunas
In any way it causes this undesired behavior. Please tell me if I can help providing any further information, I'll be looking this thread actively. And many thanks for your support too.