Minor fix to prevent Fallen Crusader proc frame to show -0.
Taracque [05-27-13 - 14:08]
Minor fix to prevent Fallen Crusader proc frame to show -0.
diff --git a/DKCrutch.lua b/DKCrutch.lua
index e9448af..d1a789e 100755
--- a/DKCrutch.lua
+++ b/DKCrutch.lua
@@ -1090,7 +1090,7 @@ function DKCrutch:Update()
DKCrutch.weaponText:SetText("F. C.: (" .. format('%.f',e-GetTime()) .. ")")
DKCrutch.weaponFrame:SetValue( e - GetTime() )
else
- if (DKCrutch.weaponFrame:GetValue()>0) then
+ if (DKCrutch.weaponFrame:GetValue() ~= 0) then
DKCrutch.weaponFrame:SetValue(0)
DKCrutch.weaponText:SetText("")
end