Vacuum Hatch update crashes when attempting to set particle visibility on an invalid LuaRendering particle effect
Reproduction:
- place a Vacuum Hatch, in /editor
- deconstruct the vacuum hatch (is inconsistent, I think it happens when you deconstruct a hatch on the same tick as or the tick before the update script runs)
Stacktrace:
Error while running event RenaiTransportation::on_nth_tick(1)
LuaRenderObject API call when LuaRenderObject was invalid.
stack traceback:
[C]: in function 'newindex'
...iTransportation/script/event/on_tick_VacuumHatches.lua:51: in function 'handle_vacuum_hatches'
RenaiTransportation/script/event/on_tick.lua:15: in function <RenaiTransportation/script/event/on_tick.lua:9>