This commit is contained in:
Erin Dachtler
2023-06-22 03:32:31 -07:00
parent 67a611c713
commit 7e5504d680

View File

@@ -92,7 +92,7 @@ local function handle_drop_down(e)
--prevent the use of the each signal with depots --prevent the use of the each signal with depots
local network = element.parent.parent.bottom.network--[[@as LuaGuiElement]] local network = element.parent.parent.bottom.network--[[@as LuaGuiElement]]
local signal = network.elem_value--[[@as SignalID]] local signal = network.elem_value--[[@as SignalID]]
if signal.name == NETWORK_EACH then if signal and (signal.name == NETWORK_EACH) then
network.elem_value = nil network.elem_value = nil
set_comb_network_name(comb, nil) set_comb_network_name(comb, nil)
end end