Quantcast

Nah. That was bad idea

Darthpred [10-16-12 - 19:14]
Nah. That was bad idea
Filename
ElvUI_SLE/ElvUI_SLE.lua
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