From f1a01a0eb3084139145a41d36dce01136e9c841f Mon Sep 17 00:00:00 2001 From: Tuller Date: Tue, 9 Nov 2010 18:50:12 -0500 Subject: [PATCH] bugfixes --- cc.lua | 2 +- tullaCC.toc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cc.lua b/cc.lua index 498784c..93fe0f2 100644 --- a/cc.lua +++ b/cc.lua @@ -149,7 +149,7 @@ end --and I'd rather not create my own cooldown frame to preserve a tiny bit of memory hooksecurefunc(getmetatable(ActionButton1Cooldown).__index, 'SetCooldown', function(cd, start, duration) --start timer - if start > 0 and duration > MIN_DURATION and (not self.noCooldownCount) then + if start > 0 and duration > MIN_DURATION and (not cd.noCooldownCount) then local timer = cd.timer or Timer_Create(cd) timer.start = start timer.duration = duration diff --git a/tullaCC.toc b/tullaCC.toc index 978cb8b..9dba652 100644 --- a/tullaCC.toc +++ b/tullaCC.toc @@ -2,6 +2,6 @@ ## Title: tullaCooldownCount ## Notes: Adds text to cooldowns ## Author: Tuller -## Version: 2.1 +## Version: 2.2 config.lua cc.lua \ No newline at end of file -- 1.7.9.5