Only refresh open tab and exclude virtual signals from provided/requested on stations tab

This commit is contained in:
Will Berry
2023-03-10 10:19:30 -05:00
parent 118f8c9eb2
commit 9343d06620
5 changed files with 43 additions and 11 deletions

View File

@@ -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