From b5e93ef19e674b77e3f8c0a01a865a4d6f5947a6 Mon Sep 17 00:00:00 2001 From: Taracque Date: Mon, 27 May 2013 16:08:18 +0200 Subject: [PATCH] Minor fix to prevent Fallen Crusader proc frame to show -0. --- DKCrutch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.9.5