From 237aa310f7b019752cd5b436c734e5fb5b77f308 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sun, 6 Apr 2014 18:48:14 +0000 Subject: [PATCH] Fix local variable leaking into global scope. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1288 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCooldown.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/OvaleCooldown.lua b/OvaleCooldown.lua index f2254eb..0d4a4b6 100644 --- a/OvaleCooldown.lua +++ b/OvaleCooldown.lua @@ -51,6 +51,7 @@ end -- If no spellId is given, then returns the GCD after a "yellow-hit" ability has been cast. function OvaleCooldown:GetGCD(spellId) -- Base global cooldown. + local cd local isCaster = false if self_class == "DEATHKNIGHT" then cd = 1.0 -- 1.7.9.5