From 07c810c04ec4b168edb53052d3678258ab6c6b3e Mon Sep 17 00:00:00 2001 From: James Gangur Date: Fri, 29 Sep 2023 23:21:25 +1000 Subject: [PATCH] remove old check for each on depots --- cybersyn/scripts/gui.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cybersyn/scripts/gui.lua b/cybersyn/scripts/gui.lua index c70896a..263aa44 100644 --- a/cybersyn/scripts/gui.lua +++ b/cybersyn/scripts/gui.lua @@ -89,13 +89,6 @@ local function handle_drop_down(e) set_comb_operation(comb, MODE_PRIMARY_IO) elseif element.selected_index == 2 then set_comb_operation(comb, MODE_DEPOT) - --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 and (signal.name == NETWORK_EACH) then - network.elem_value = nil - set_comb_network_name(comb, nil) - end elseif element.selected_index == 3 then set_comb_operation(comb, MODE_REFUELER) elseif element.selected_index == 4 then