From 243d0989d193f19e49a92cc129d35522cb9943b8 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sat, 30 Jan 2010 16:57:13 +0100 Subject: [PATCH] Update cpoints to the new standard --- oUF_P3lim.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 2b36975..91b2bc8 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -61,12 +61,6 @@ local function menu(self) end end -local function updateCombo(self, event, unit) - if(unit == PlayerFrame.unit and unit ~= self.CPoints.unit) then - self.CPoints.unit = unit - end -end - local function updatePower(element, unit, min, max) if(max ~= 0) then element:GetParent().Health:SetHeight(20) @@ -331,8 +325,6 @@ local function style(self, unit) self.CPoints:SetPoint('RIGHT', self, 'LEFT', -9, 0) self.CPoints:SetTextColor(1, 1, 1) self.CPoints:SetJustifyH('RIGHT') - self.CPoints.unit = PlayerFrame.unit - self:RegisterEvent('UNIT_COMBO_POINTS', updateCombo) end if(unit == 'player') then -- 1.7.9.5