code improvement

This commit is contained in:
Chr1Z93 2024-11-19 13:32:08 +01:00
parent f14d88ee98
commit 7eddc4d988

View File

@ -1192,11 +1192,7 @@ end
function resetSlotSymbols(empty)
slotData = {}
for _, slotName in ipairs(defaultSlotData) do
if empty then
table.insert(slotData, "any")
else
table.insert(slotData, slotName)
end
table.insert(slotData, empty and "any" or slotName)
end
updateSave()
updateSlotSymbols()