Quantcast

Fixed display issue

Scott King [01-20-14 - 05:40]
Fixed display issue
Filename
PortraitHealth.lua
diff --git a/PortraitHealth.lua b/PortraitHealth.lua
index ee26472..f85af06 100755
--- a/PortraitHealth.lua
+++ b/PortraitHealth.lua
@@ -77,9 +77,9 @@ function HealthPercentage()
 	if UnitIsDead("target") then
 		PortraitHealth_Health:SetText('Dead');
 	elseif
-		TargetPercentHealth <= 1 then PortraitHealth_Health:SetText(h .. '%');
+		TargetPercentHealth >= 1 then PortraitHealth_Health:SetText(h .. '%');
 	elseif
-		TargetPercentHealth > 1 then PortraitHealth_Health:SetText(i .. '%');
+		TargetPercentHealth < 1 then PortraitHealth_Health:SetText(i .. '%');

 	end