Quantcast

Fix return value of OvaleAura:GetAura().

Johnny C. Lam [10-23-13 - 07:20]
Fix return value of OvaleAura:GetAura().

This was a code commit missed in r942 from when the function signature
changed.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1104 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleAura.lua
diff --git a/OvaleAura.lua b/OvaleAura.lua
index 792741f..dc4adc5 100644
--- a/OvaleAura.lua
+++ b/OvaleAura.lua
@@ -482,7 +482,7 @@ function OvaleAura:GetAura(unitId, spellId, filter, mine, auraFound)
 				auraFound[k] = v
 			end
 		end
-		return newStart, newEnding, newStacks, newTick, newValue, newGain
+		return newStart, newEnding, newStacks, newGain
 	else
 		return self:GetAuraByGUID(guid, spellId, filter, mine, unitId, auraFound)
 	end