mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-06 03:16:05 -06:00
remove old check for each on depots
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user