When trying to deconstruct a combinator with an on_tick event:
Error while running event LuaCombinator3::on_tick (ID 0)
__LuaCombinator3__/control.lua:239: table index is nil
stack traceback:
__LuaCombinator3__/control.lua:239: in function 'destroy_combinator983'
__LuaCombinator3__/control.lua:1098: in function <__LuaCombinator3__/control.lua:1071>
Changing id
to unit_nr983
at control.lua:239
resolves the problem.