Skip to content
Permalink
Browse files

Update CPoints.lua

  • Loading branch information...
leg883 committed May 26, 2015
1 parent 3d1f267 commit 7f979500f2b82a43f061033c58169fc70b4d9be9
Showing with 2 additions and 0 deletions.
  1. +2 −0 ShestakUI/Libs/oUF/Elements/CPoints.lua
@@ -43,6 +43,7 @@ local Enable = function(self)
cpoints.ForceUpdate = ForceUpdate

self:RegisterEvent('UNIT_COMBO_POINTS', Path)
self:UnregisterEvent('PLAYER_TARGET_CHANGED', Path)

for index = 1, MAX_COMBO_POINTS do
local cpoint = cpoints[index]
@@ -60,6 +61,7 @@ local Disable = function(self)
local cpoints = self.CPoints
if(cpoints) then
self:UnregisterEvent('UNIT_COMBO_POINTS', Path)
self:UnregisterEvent('PLAYER_TARGET_CHANGED', Path)
end
end

0 comments on commit 7f97950

Please sign in to comment.
You can’t perform that action at this time.