Fix uninitialized 'quality' variable
This commit is contained in:
@ -677,10 +677,10 @@ function MyBagsCore:GetInfoDataStore(bag, slot)
|
||||
name = GetItemInfo(ID)
|
||||
readable = IsSpecialtyBagFromID(ID)
|
||||
end
|
||||
return texture, count, ID, nil, quality, readable, name
|
||||
return texture, count, ID, nil, nil, readable, name
|
||||
else
|
||||
local ID, slotLink, count = DS:GetSlotInfo(container, slot)
|
||||
local name, itemLink, texture, quality, i_type
|
||||
local name, itemLink, texture, i_type
|
||||
if ID then
|
||||
name, itemLink = GetItemInfo(ID)
|
||||
texture = GetItemIcon(ID)
|
||||
|
||||
Reference in New Issue
Block a user