From c8169ecc7f893eeadedb2db7557c994da24898d2 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Thu, 8 May 2014 17:26:46 +0000 Subject: [PATCH] Rename function for clarity. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1402 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleRunes.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OvaleRunes.lua b/OvaleRunes.lua index 8f48117..47290c3 100644 --- a/OvaleRunes.lua +++ b/OvaleRunes.lua @@ -380,7 +380,7 @@ statePrototype.GetRunesCooldown = nil do -- If the rune is active, then return the remaining active runes count requirement. -- Also return the time of the next rune becoming active. - local function MatchRune(rune, count, endCooldown) + local function MatchingRune(rune, count, endCooldown) if count > 0 then count = count - 1 if rune.endCooldown > endCooldown then @@ -414,7 +414,7 @@ do for slot, rune in ipairs(state.rune) do if rune.type ~= DEATH_RUNE then local runeType = rune.type - local count, endCooldown = MatchRune(rune, runeCount[runeType], runeEndCooldown[runeType]) + local count, endCooldown = MatchingRune(rune, runeCount[runeType], runeEndCooldown[runeType]) runeCount[runeType] = count runeEndCooldown[runeType] = endCooldown end @@ -424,7 +424,7 @@ do for slot, rune in ipairs(state.rune) do if rune.type == DEATH_RUNE then local runeType = rune.slotType - local count, endCooldown = MatchRune(rune, runeCount[runeType], runeEndCooldown[runeType]) + local count, endCooldown = MatchingRune(rune, runeCount[runeType], runeEndCooldown[runeType]) runeCount[runeType] = count runeEndCooldown[runeType] = endCooldown end @@ -442,7 +442,7 @@ do for _, slot in ipairs(DEATH_RUNE_PRIORITY) do local rune = state.rune[slot] local runeType = DEATH_RUNE - local count, endCooldown = MatchRune(rune, remainingCount, runeEndCooldown[runeType]) + local count, endCooldown = MatchingRune(rune, remainingCount, runeEndCooldown[runeType]) remainingCount = count runeEndCooldown[runeType] = endCooldown end -- 1.7.9.5