To repro, load up the attached save, and run down to the right. Deconstruct the rightmost lab by the wayer. The scenario crashes after a bit - or immediately if you wait a few seconds before deconstructing
Code: Select all
The scenario level caused a non-recoverable error.
Please report this error to the scenario author.
Error while running event level::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
__base__/lualib/npe/helper-branches.lua:1202: in function 'condition'
__core__/lualib/story_2.lua:191: in function 'update'
__base__/lualib/npe/helper_story.lua:40: in function '?'
__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>
stack traceback:
[C]: in function '__index'
__base__/lualib/npe/helper-branches.lua:1202: in function 'condition'
__core__/lualib/story_2.lua:191: in function 'update'
__base__/lualib/npe/helper_story.lua:40: in function '?'
__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>