2,873
edits
No edit summary |
No edit summary |
||
Line 225: | Line 225: | ||
if slot == nil then | if slot == nil then | ||
local fl = FL.new(itemList) | local fl = FL.new(itemList) | ||
if fl:any(function(x) return Shared.contains( | if fl:any(function(x) return Shared.contains(x.validSlots, 'Weapon') end) then | ||
slot = 'Weapon' | slot = 'Weapon' | ||
end | end |
edits