Item levels are ready in-game later than the items themselves.
Johnny C. Lam [05-22-14 - 16:29]
Item levels are ready in-game later than the items themselves.
Treat the item levels being ready as the items themselves having changed
and raise an "equipment has changed" event for other modules that use the
item levels.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1494 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleEquipement.lua b/OvaleEquipement.lua
index 761b891..6c028be 100644
--- a/OvaleEquipement.lua
+++ b/OvaleEquipement.lua
@@ -627,6 +627,9 @@ function OvaleEquipement:UpdateEquippedItemLevels()
changed = true
end
end
+ if changed then
+ self:SendMessage("Ovale_EquipmentChanged")
+ end
return changed
end