Merge pull request #417 from ronpetit/master

fixed outfit for 7.6 fix #415
This commit is contained in:
Sam 2013-12-24 16:01:10 -08:00
commit 83dd92cfec
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 addon.widget.onCheckChange = function(self) onAddonCheckChange(self, addon.value) end
end end
if outfit.addons > 0 then if outfit.addons and outfit.addons > 0 then
for _, i in pairs(ADDON_SETS[outfit.addons]) do for _, i in pairs(ADDON_SETS[outfit.addons]) do
addons[i].widget:setChecked(true) addons[i].widget:setChecked(true)
end end