Description
Using deconstruction planner from player's library to deconstruct an area via player.cursor_record.deconstruct_area invocation has no effect.Reproduction steps
- Start a new game, and place some belts and belt ghosts in vicinity of the shipwreck.
- Create a deconstruction planner with a single whitelist filter for the belts.
- Place deconstruction planner into player's library.
- Pick the deconstruction planner from the library, and run the following snippet via console:
Code: Select all
/c game.player.cursor_record.deconstruct_area{surface=game.player.surface, force = game.player.force, by_player = game.player, area = {{-50, -50}, {50, 50}}}
Expected results
- In step (4), the deconstruction planner removes the belt ghosts.
- In step (4), the deconstruction planner orders deconstruction of constructed belts.
Actual results
- In step (4), belt ghosts are unaffected and remain on the surface.
- In step (4), constructed belts are unaffected, and are not marked for deconstruction.