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) function resetSlotSymbols(empty)
slotData = {} slotData = {}
for _, slotName in ipairs(defaultSlotData) do for _, slotName in ipairs(defaultSlotData) do
if empty then table.insert(slotData, empty and "any" or slotName)
table.insert(slotData, "any")
else
table.insert(slotData, slotName)
end
end end
updateSave() updateSave()
updateSlotSymbols() updateSlotSymbols()