Quantcast

add check for enable to init for background

Darthpred [02-10-13 - 09:21]
add check for enable to init for background
Filename
ElvUI_SLE/modules/backgrounds/backgrounds.lua
diff --git a/ElvUI_SLE/modules/backgrounds/backgrounds.lua b/ElvUI_SLE/modules/backgrounds/backgrounds.lua
index 4aba735..bd8a029 100644
--- a/ElvUI_SLE/modules/backgrounds/backgrounds.lua
+++ b/ElvUI_SLE/modules/backgrounds/backgrounds.lua
@@ -94,6 +94,7 @@ function BG:RegisterHide()
 end

 function BG:Initialize()
+	if not E.private.sle.module.backgrounds then return end
 	BG:FramesCreate()
 	BG:UpdateFrames()
 	BG:RegisterHide()