Factorio 0.17.31
RS 2.0.0
I removed a few remote switches with Creative Mod instant deconstruction.
The remote switches didn't disappear from the GUI.
I closed and opened the RS GUI to refresh it. Crash on opening the GUI.
Instant contruction/destruction doesn't trigger construction/destruction event handlers :/
I expect that RS removes the invalid remote switches from its list instead of crashing.
The mod Remote Switch caused a non-recoverable error.
Please report this error to the mod author.
Error while running event remote-switch::on_gui_click (ID 1)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
remote-switch/switchGUI.lua:64: in function 'toggle_popup'
remote-switch/switchGUI.lua:131: in function <remote-switch/switchGUI.lua:128>
stack traceback:
[C]: in function 'index'
__remote-switch/switchGUI.lua:64: in function 'toggle_popup'
remote-switch/switchGUI.lua:131: in function <remote-switch/switchGUI.lua:128>