From 42ca087ce72b0dd178cdadbc2bf9908090f091f1 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Tue, 19 Aug 2014 18:48:46 +0200 Subject: [PATCH] Elements store their owner frame, let's use it --- oUF_P3lim.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 081524d..858121e 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -16,7 +16,7 @@ local BACKDROP = { } local function PostUpdatePower(element, unit, min, max) - element:GetParent().Health:SetHeight(max ~= 0 and 20 or 22) + element.__owner.Health:SetHeight(max ~= 0 and 20 or 22) end local function PostUpdateCast(element, unit) -- 1.7.9.5