identify code locations that need to handle signal quality

This commit is contained in:
Harag
2024-10-22 19:50:10 +02:00
parent dc4f82a513
commit 25284a8586
4 changed files with 7 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ function util.slot_table_build_from_station(station)
end
local count = v.count
local name = item.name
-- FIXME handle item.quality
local sprite, img_path, item_string = util.generate_item_references(name)
if sprite ~= nil then
local color
@@ -181,6 +182,7 @@ function util.slot_table_build_from_control_signals(station, map_data)
local item = v.signal
local count = v.count
local name = item.name
-- FIXME handle item.quality
local sprite = ""
local color = "default"
if item.type ~= "virtual" then