code improvement
This commit is contained in:
parent
f14d88ee98
commit
7eddc4d988
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user