Quantcast

Don't try to hide ShoppingTooltip3 on WoD, it's been removed

Adrian L Lange [08-19-14 - 17:41]
Don't try to hide ShoppingTooltip3 on WoD, it's been removed
Filename
BonusRollPreview.lua
diff --git a/BonusRollPreview.lua b/BonusRollPreview.lua
index 2224daf..ea15cac 100644
--- a/BonusRollPreview.lua
+++ b/BonusRollPreview.lua
@@ -1,3 +1,5 @@
+local WoD = select(4, GetBuildInfo()) >= 6e4
+
 local _, ns = ...
 local encounterIDs = ns.encounterIDs
 local itemBlacklist = ns.itemBlacklist
@@ -157,7 +159,10 @@ local function ItemButtonUpdate(self, elapsed)
 	else
 		ShoppingTooltip1:Hide()
 		ShoppingTooltip2:Hide()
-		ShoppingTooltip3:Hide()
+
+		if(not WoD) then
+			ShoppingTooltip3:Hide()
+		end
 	end

 	if(IsModifiedClick('DRESSUP')) then