From b42c1dc759d841684df1066c78fe8b763d46a791 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Tue, 19 Aug 2014 18:50:00 +0200 Subject: [PATCH] We don't use min, it's misleading and overwrites a math method --- oUF_P3lim.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 858121e..68e6908 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -15,7 +15,7 @@ local BACKDROP = { insets = {top = -1, bottom = -1, left = -1, right = -1} } -local function PostUpdatePower(element, unit, min, max) +local function PostUpdatePower(element, unit, cur, max) element.__owner.Health:SetHeight(max ~= 0 and 20 or 22) end -- 1.7.9.5