Quantcast

bugfixes

Tuller [11-09-10 - 23:50]
bugfixes
Filename
cc.lua
tullaCC.toc
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