Page 1 of 1

[2.1.8] Ghost item requests in Cargo Wagon inventory not saved to undo stack

Posted: Sun Jun 28, 2026 1:41 pm
by robot256
What did you do?
In Vanilla 2.1.8, build a cargo wagon and a locomotive.
Enter map mode and place an item ghost in the cargo wagon inventory, for example a stack of advanced circuits. In the locomotive, place a request for solid fuel.
Exit map mode and mine the wagon and the wagon (deconstructing it with robots also works).
Now press Undo twice and have your robots revive the cargo wagon and locomotive ghosts.
What happened?
The locomotive was built and has the fuel item ghost for solid fuel in it.
The cargo wagon was built and the inventory has no item ghosts in it.
What did you expect?
I expected the cargo wagon to restore the item request for advanced circuits, just like locomotives restores fuel requests.

Re: [2.1.8] Ghost item requests in Cargo Wagon inventory not saved to undo stack

Posted: Mon Jun 29, 2026 9:56 am
by JohnMeister
It is the same with modules you put in assembling machines. Undoing doesn't save the modules you put in previously.

Re: [2.1.8] Ghost item requests in Cargo Wagon inventory not saved to undo stack

Posted: Wed Jul 01, 2026 4:21 pm
by Rseding91
Thanks for the report however this is working as intended. The contents of entities are not put back when undo runs and so ghost items are also not put back.

The exception to this is modules and fuel.