From 56e2bc4edbb90d9d5c24909c9c3b7e89754f0b1e Mon Sep 17 00:00:00 2001 From: Darthpred Date: Thu, 21 Jul 2016 15:55:19 +0300 Subject: [PATCH] ffs --- ElvUI_SLE/modules/bags.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ElvUI_SLE/modules/bags.lua b/ElvUI_SLE/modules/bags.lua index 1ed862f..cf1aa64 100755 --- a/ElvUI_SLE/modules/bags.lua +++ b/ElvUI_SLE/modules/bags.lua @@ -20,10 +20,8 @@ function SB:UpdateSlot(bagID, slotID) SB:StartAnim(slot); end - if not Pr then - Pr = SLE:GetModule("Professions") - if not Pr.DeconstructionReal then return end - end + if not Pr then Pr = SLE:GetModule("Professions") end + if not Pr.DeconstructionReal then return end if Pr.DeconstructionReal:IsShown() and not slot.hasItem then B:Tooltip_Hide() Pr.DeconstructionReal:OnLeave() -- 1.7.9.5