From 4250d8701e577dca8cc54606c39310339ce01aa6 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Tue, 16 Oct 2012 23:14:14 +0400 Subject: [PATCH] Nah. That was bad idea --- ElvUI_SLE/ElvUI_SLE.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua index 03c4e7c..b83f5ed 100644 --- a/ElvUI_SLE/ElvUI_SLE.lua +++ b/ElvUI_SLE/ElvUI_SLE.lua @@ -18,9 +18,10 @@ function SLE:UpdateThings() end function SLE:LootShow() + local instance = IsInInstance() LootHistoryFrame:SetAlpha(E.db.sle.lootalpha or 1) - if (not IsInInstance() and E.db.sle.lootwin) then + if (not instance and E.db.sle.lootwin) then LootHistoryFrame:Hide() end end -- 1.7.9.5