Page 1 of 1

[Lou][2.0.10] Crash when using deconstruct_area() on ghost (LatencyStateAdapter::getEntitySelector)

Posted: Thu Oct 24, 2024 1:26 pm
by FoxLBA
Description:
Crash when calling the deconstruct_area function via a script if there is a ghost in the area.

Steps to reproduce:
1. Start new game.
2. Switch to editor mode.
3. Place any ghost (i used the wooden chest).
4. Use snippet function (the ghost must be in the area):

Code: Select all

local surface = game.player.surface
local force = game.player.force
surface.deconstruct_area{area=area, force=force}
Expected behavior:
The ghost must disappear.

Re: [Lou][2.0.10] Crash when using deconstruct_area() on ghost

Posted: Sat Oct 26, 2024 10:31 am
by Lou
Thank you for the report. Fixed in 2.0.12