From 6072a3b21311c1c2e79339cef10d36552fdd7619 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 24 Nov 2014 21:51:51 +0400 Subject: [PATCH] Fixed #75 Well, unless someone hits escape while afk it will be totally fine --- ElvUI_SLE/modules/screensaver.lua | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ElvUI_SLE/modules/screensaver.lua b/ElvUI_SLE/modules/screensaver.lua index 6e44593..d88b91b 100644 --- a/ElvUI_SLE/modules/screensaver.lua +++ b/ElvUI_SLE/modules/screensaver.lua @@ -4,9 +4,6 @@ local S = E:GetModule("SLE_ScreenSaver") local LSM = LibStub("LibSharedMedia-3.0") local Sk = E:GetModule("Skins") -if AddOnSkins then - local AS = unpack(AddOnSkins) -end local SS local ru = false local Months = {} @@ -236,12 +233,6 @@ function S:Shown() self.Top.PlayerInfo:SetText(format("|c%s%s|r, %s %s", Color.colorStr, Class, LEVEL, Level)) self.ScrollFrame:AddMessage(L["SLE_TIPS"][TipNum], 1, 1, 1) - - UIParent:Hide() - UIParent:Show() - if AS then - AS:EmbedExitCombat() - end end function S:Update(elapsed) @@ -279,6 +270,7 @@ function S:Event(event, unit) fading = true UIFrameFadeIn(UIParent, 0.5, 1, 0) end + UIParent:Hide() else FlipCameraYaw(-degree) degree = 0 -- 1.7.9.5