From c65704535dda509f131191293b004bd3ee0a47a6 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Tue, 19 Aug 2014 19:41:48 +0200 Subject: [PATCH] Don't try to hide ShoppingTooltip3 on WoD, it's been removed --- BonusRollPreview.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 1.7.9.5