From 12c2ed676418cff8dbe58f8e6d3c5bbd78455462 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Thu, 5 Dec 2013 08:18:44 +0000 Subject: [PATCH] Return a more sensible value in GetStealable if no such auras are found. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1232 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleAura.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvaleAura.lua b/OvaleAura.lua index f3988f2..fdd9521 100644 --- a/OvaleAura.lua +++ b/OvaleAura.lua @@ -870,7 +870,7 @@ statePrototype.GetStealable = function(state, unitId) if count > 0 then return count, start, ending end - return nil + return 0, 0, math.huge end do -- 1.7.9.5