[Lou][2.0.23] Minefield ghosts placed on landfill ghosts do not all get restored after undo deconstruction

This subforum contains all the issues which we already resolved.
DarkIrek
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Jan 09, 2022 1:36 am
Contact:

[Lou][2.0.23] Minefield ghosts placed on landfill ghosts do not all get restored after undo deconstruction

Post by DarkIrek »

Ctrl+X then Ctrl+Z the ghost of this blueprint makes some mines disappear. Not to mention that if I build mines close enough the sometimes appear green as if I can build them but cant be built.

Loewchen
Global Moderator
Global Moderator
Posts: 9664
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Minefield ghost changes after cut and undo

Post by Loewchen »

Cannot reproduce, the ghosts get all restored.
DarkIrek
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Jan 09, 2022 1:36 am
Contact:

Re: Minefield ghost changes after cut and undo

Post by DarkIrek »

Tested it again. Happens on water. I discovered it while building flooded terrain on Gleba and I didn't consider that this makes a difference.
User avatar
Lou
Factorio Staff
Factorio Staff
Posts: 195
Joined: Mon Nov 30, 2020 10:50 am
Contact:

Re: [2.0.23] Minefield ghosts placed on landfill ghosts do not all get restored after undo deconstruction

Post by Lou »

Also could not reproduce this (neither on 2.0.23 nor the latest). Could you maybe provide a video or more exact steps to reproduce this?
Loewchen
Global Moderator
Global Moderator
Posts: 9664
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.23] Minefield ghosts placed on landfill ghosts do not all get restored after undo deconstruction

Post by Loewchen »

I am able to reproduce it with the provided bp on water in base game 2.0.24. Just force placing the bp, deconstructing using the decon planner and then undo:
pics
User avatar
Lou
Factorio Staff
Factorio Staff
Posts: 195
Joined: Mon Nov 30, 2020 10:50 am
Contact:

Re: [Lou][2.0.23] Minefield ghosts placed on landfill ghosts do not all get restored after undo deconstruction

Post by Lou »

Thanks both for the report and for the images (helped in reproduction).

Underlying issue was, when an entity ghost was dependent on two or more tile ghosts, the rder of records in the undo was incorrect, because the entity ghost removal was induced at the moment of first supporting tile ghost removal (and thus before the other supporting tile ghosts).

Fixed for 2.0.30
Post Reply

Return to “Resolved Problems and Bugs”