Quantcast

aura fix

Steven Jackson [12-04-14 - 03:16]
aura fix
Filename
Interface/AddOns/SVUI/packages/unit/elements/auras.lua
diff --git a/Interface/AddOns/SVUI/packages/unit/elements/auras.lua b/Interface/AddOns/SVUI/packages/unit/elements/auras.lua
index 9c275f8..97c0e59 100644
--- a/Interface/AddOns/SVUI/packages/unit/elements/auras.lua
+++ b/Interface/AddOns/SVUI/packages/unit/elements/auras.lua
@@ -361,7 +361,7 @@ do
 		local pass = false;
 		local friendly = false;

-		if(isPlayer or (UnitIsFriend("player", unit) == 1)) then
+		if(not  UnitIsEnemy("player", unit)) then
 			friendly = true
 		end

@@ -443,7 +443,7 @@ do
 		local pass = false;
 		local friendly = false;

-		if(isPlayer or (UnitIsFriend("player", unit) == 1)) then
+		if(not  UnitIsEnemy("player", unit)) then
 			friendly = true
 		end