Mercurial > wow > reaction
diff classes/ReAction_ActionDisplay.lua @ 9:650f75d08952
Version 0.32
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Tue, 20 Mar 2007 21:35:57 +0000 |
parents | c05fd3e18b4f |
children | f3a7bfebc283 |
line wrap: on
line diff
--- a/classes/ReAction_ActionDisplay.lua Tue Mar 20 21:33:59 2007 +0000 +++ b/classes/ReAction_ActionDisplay.lua Tue Mar 20 21:35:57 2007 +0000 @@ -230,7 +230,7 @@ end function RAAD:DisplayCooldown( start, duration, enable ) - enable = enable and not self.config.hideCooldown and (not self.config.hideGlobalCooldown or duration > 1.5) + enable = (enable > 0 ) and not self.config.hideCooldown and (not self.config.hideGlobalCooldown or duration > 1.5) and 1 or 0 CooldownFrame_SetTimer(self.frames.cooldown, start, duration, enable) end