[2.1.8] Vehicle equipment grid not saved to undo stack

Post your bugs and problems so we can fix them.
robot256
Smart Inserter
Smart Inserter
Posts: 1379
Joined: Sun Mar 17, 2019 1:52 am
Contact:

[2.1.8] Vehicle equipment grid not saved to undo stack

Post by robot256 »

What did you do?
Start a new game in Vanilla 2.1.8 and enable cheat mode.

Build a Tank and put fuel in it. Put any equipment in the grid.

With the blueprint tool, make a blueprint of the tank and place a copy of it.

Now right-click the first tank to mine it. Then Press CTRL-Z to undo the mining of the tank.
What happened?
The blueprinted Tank ghost is created with a fuel request, and when the tank is placed, the equipment ghost is in the grid. This is expected.

The "undo"-created Tank ghost is created with the fuel item request. When the Tank is build by a robot, its equipment grid is empty and the equipment that was in the tank when it was mined is returned to the player.
What did you expect?
I expected the blueprint and undo ghosts to contain the same equipment ghosts.
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Post Reply

Return to “Bug Reports”