mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-15 08:12:47 -06:00
Only refresh open tab and exclude virtual signals from provided/requested on stations tab
This commit is contained in:
@@ -100,6 +100,9 @@ function util.slot_table_build_from_station(station)
|
||||
if comb1_signals then
|
||||
for _, v in pairs(comb1_signals) do
|
||||
local item = v.signal
|
||||
if item.type == "virtual" then
|
||||
goto continue
|
||||
end
|
||||
local count = v.count
|
||||
local name = item.name
|
||||
local sprite, img_path, item_string = util.generate_item_references(name)
|
||||
@@ -126,6 +129,7 @@ function util.slot_table_build_from_station(station)
|
||||
}
|
||||
end
|
||||
end
|
||||
::continue::
|
||||
end
|
||||
end
|
||||
return children
|
||||
|
||||
Reference in New Issue
Block a user