Quantcast

masternode fix (again)

Sidoine De Wispelaere [02-15-12 - 18:37]
masternode fix (again)

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@476 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.lua
diff --git a/Ovale.lua b/Ovale.lua
index 7d93535..4812bb2 100644
--- a/Ovale.lua
+++ b/Ovale.lua
@@ -865,8 +865,9 @@ function Ovale:SPELLS_CHANGED()
 end

 function Ovale:UNIT_INVENTORY_CHANGED()
-	self.needCompile = self.compileOnItems
-	if not self.needCompile then
+	if self.compileOnItems then
+		self.needCompile = true
+	else
 		self.refreshNeeded = true
 	end
 end