Quantcast

ffs

Darthpred [07-21-16 - 12:55]
ffs
Filename
ElvUI_SLE/modules/bags.lua
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()