Update outfit.lua

Fixed outfits for 7.6
This commit is contained in:
Ron 2013-12-24 14:07:52 -04:30
parent 9d8cf33acc
commit d0288e23d8
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ function create(creatureOutfit, outfitList, creatureMount, mountList)
addon.widget.onCheckChange = function(self) onAddonCheckChange(self, addon.value) end
end
if outfit.addons > 0 then
if outfit.addons and outfit.addons > 0 then
for _, i in pairs(ADDON_SETS[outfit.addons]) do
addons[i].widget:setChecked(true)
end