Quantcast

We don't use min, it's misleading and overwrites a math method

Adrian L Lange [08-19-14 - 16:50]
We don't use min, it's misleading and overwrites a math method
Filename
oUF_P3lim.lua
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