[2.0.9] Undo can add extra wires to buildings moved w/ cut

Post your bugs and problems so we can fix them.
thebrick448
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon May 06, 2024 9:45 am
Contact:

[2.0.9] Undo can add extra wires to buildings moved w/ cut

Post by thebrick448 »

Under the right conditions, deleting a power pole (or other wire connected building) then using undo can restore wires (Copper, red, or green) from an earlier state, or even create new wire connections which never existed.

Steps to reproduce:
1. Build 3 medium power poles close together - close enough that wires can be connected between all 3.
2. Use Cut + Paste to move a power pole, while still being close to the other 2.
3. (Optional) Remove all wires using the wire tool.
4. Delete all 3 power poles
5. Undo the deletion.

After performing the undo, all 3 power poles will be connected together, regardless of whether or not they were connected before. This applies to both copper wires, and red/green wires.
thebrick448
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon May 06, 2024 9:45 am
Contact:

Re: [kovarex] [2.0.9] Undo can add extra wires to buildings moved w/ cut

Post by thebrick448 »

I forgot to mention in my initial post - To reproduce this, you need to use ghosts, or be in editor mode.
Post Reply

Return to “Bug Reports”