From e0ac59da058a9d3cfd2ab485fbe3f72954c6251d Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Thu, 8 May 2014 17:26:32 +0000 Subject: [PATCH] Fix variable name in state:RuneCount() that caused "death" to be ignored. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1400 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleRunes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvaleRunes.lua b/OvaleRunes.lua index 3a8fa83..e0975a1 100644 --- a/OvaleRunes.lua +++ b/OvaleRunes.lua @@ -332,7 +332,7 @@ end -- count The number of currently active runes of the given type. -- startCooldown The time at which the next rune of the given type went on cooldown. -- endCooldown The time at which the next rune of the given type will be active. -statePrototype.RuneCount = function(state, name, death) +statePrototype.RuneCount = function(state, name, deathCondition) local count = 0 local startCooldown, endCooldown = math.huge, math.huge local runeType = RUNE_TYPE[name] -- 1.7.9.5