Fix variable name in state:RuneCount() that caused "death" to be ignored.
Johnny C. Lam [05-08-14 - 17:26]
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
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]