Quantcast

- Accidentally left out a crucial part of the buff system

Lanerra [12-28-13 - 00:36]
- Accidentally left out a crucial part of the buff system
Filename
oUF_Lanerra.lua
diff --git a/oUF_Lanerra.lua b/oUF_Lanerra.lua
index b4b87fd..1af87a8 100644
--- a/oUF_Lanerra.lua
+++ b/oUF_Lanerra.lua
@@ -5,6 +5,8 @@
     Game92 for inspiration, and Phanx for inspiration and an inline border method
 --]]

+objects = {}
+
 -------------------------------------------------
 -- Kill some unneeded settings
 -------------------------------------------------
@@ -533,6 +535,7 @@ local Stylish = function(self, unit, isSingle)
 	self.ignoreHealComm = true

 --    print('Spawn', self:GetName(), unit)
+	tinsert(objects, self)

 	self:EnableMouse(true)
 	self:RegisterForClicks('AnyUp')
@@ -1159,6 +1162,7 @@ local function StylishGroup(self, unit)
 	self.ignoreHealComm = true

 --    print('Spawn', self:GetName(), unit)
+	tinsert(objects, self)

 	self:EnableMouse(true)
 	self:RegisterForClicks('AnyUp')
@@ -1348,6 +1352,7 @@ local function StylishRaid(self, unit)
 	self.ignoreHealComm = true

 --    print('Spawn', self:GetName(), unit)
+	tinsert(objects, self)

 	self:EnableMouse(true)
 	self:RegisterForClicks('AnyUp')
@@ -1812,7 +1817,7 @@ if getRole then
 		if role ~= CURRENT_ROLE then
 			--print(event, CURRENT_ROLE, "->", role)
 			CURRENT_ROLE = role
-			F.UpdateAuraList()
+			UpdateAuraList()
 			for _, frame in pairs(objects) do
 				if frame.updateOnRoleChange then
 					for _, func in pairs(frame.updateOnRoleChange) do