mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-06 07:15:58 -06:00
fix for #98
This commit is contained in:
@@ -92,7 +92,7 @@ local function handle_drop_down(e)
|
||||
--prevent the use of the each signal with depots
|
||||
local network = element.parent.parent.bottom.network--[[@as LuaGuiElement]]
|
||||
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
|
||||
set_comb_network_name(comb, nil)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user