Fix return value of MaxFocus().
Johnny C. Lam [10-15-13 - 01:24]
Fix return value of MaxFocus().
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1046 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleCondition.lua b/OvaleCondition.lua
index 471841c..be89554 100644
--- a/OvaleCondition.lua
+++ b/OvaleCondition.lua
@@ -2527,7 +2527,7 @@ end
-- @return A boolean value for the result of the comparison.
OvaleCondition.conditions.maxfocus = function(condition)
- local maxi = MaxPowerConditionHelper(GetTarget(condition), "maxfocus")
+ local maxi = MaxPowerConditionHelper(GetTarget(condition), "focus")
return Compare(maxi, condition[1], condition[2])
end