Quantcast

Proper updating on show

Adrian L Lange [09-18-12 - 19:35]
Proper updating on show
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index 81a4ed8..88c40b9 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -259,6 +259,8 @@ local UnitSpecific = {
 			self:RegisterEvent('UPDATE_SHAPESHIFT_FORM', UpdateCombo, true)
 			self:RegisterEvent('PLAYER_TARGET_CHANGED', UpdateCombo, true)
 			self:RegisterEvent('UNIT_COMBO_POINTS', UpdateCombo, true)
+
+			table.insert(self.__elements, UpdateCombo)
 		else
 			self:Tag(ComboPoints, '[cpoints]')
 		end