Quantcast

Failing logic in pet battle skin. This should fix #256

Darthpred [08-05-16 - 13:19]
Failing logic in pet battle skin. This should fix  #256
Filename
ElvUI_SLE/skins/blizzard/petbattle.lua
diff --git a/ElvUI_SLE/skins/blizzard/petbattle.lua b/ElvUI_SLE/skins/blizzard/petbattle.lua
index 914220f..6a87a8b 100644
--- a/ElvUI_SLE/skins/blizzard/petbattle.lua
+++ b/ElvUI_SLE/skins/blizzard/petbattle.lua
@@ -4,7 +4,7 @@ local S = E:GetModule('Skins')
 local _G = _G

 local function PetBattle()
-	if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.petbattleui ~= true and E.private.sle.skins.petbattles.enable ~= true then return end
+	if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.petbattleui ~= true or E.private.sle.skins.petbattles.enable ~= true then return end
 	local f = _G["PetBattleFrame"]
 	local bar = _G["ElvUIPetBattleActionBar"]