This commit is contained in:
OTCv8
2020-09-11 01:13:37 +02:00
parent cf931af49e
commit dfd69fd3b5
19 changed files with 308 additions and 79 deletions

View File

@@ -54,7 +54,9 @@ end
function setupSelector(widget, id, outfit, list)
widget:setId(id)
widget.title:setText(id:gsub("^%l", string.upper))
table.insert(list, 1, {0, "-"})
if id ~= "type" or #list == 0 then
table.insert(list, 1, {0, "-"})
end
local pos = 1
for i, o in pairs(list) do