Quantcast

And bakc to the previous size, cause if we don't check this on load then terrible things happens

Darthpred [11-02-12 - 15:35]
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
Filename
ElvUI_SLE/ElvUI_SLE.lua
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'])