From 441fec12cb0c10485912207e2f9497878b0dc3a5 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 2 Nov 2012 19:35:36 +0400 Subject: [PATCH] And bakc to the previous size, cause if we don't check this on load then terrible things happens Like no SLE mover category and other stuff in init --- ElvUI_SLE/ElvUI_SLE.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua index 5361443..581b4e3 100644 --- a/ElvUI_SLE/ElvUI_SLE.lua +++ b/ElvUI_SLE/ElvUI_SLE.lua @@ -68,7 +68,9 @@ end function SLE:Initialize() DTP = E:GetModule('DTPanels') - self:RegisterEvent("PLAYER_REGEN_DISABLED", UF.Update_CombatIndicator); + if E.private.unitframe.enable then + self:RegisterEvent("PLAYER_REGEN_DISABLED", UF.Update_CombatIndicator); + end self:RegisterEvent('PLAYER_ENTERING_WORLD', 'LootShow'); if E.db.general.loginmessage then print(L['SLE_LOGIN_MSG']) -- 1.7.9.5