Quantcast

Make sure broker getting info on login

Adrian L Lange [09-18-09 - 16:02]
Make sure broker getting info on login
Filename
Broker_Equipment.lua
diff --git a/Broker_Equipment.lua b/Broker_Equipment.lua
index 50f8abe..7d3c2ff 100644
--- a/Broker_Equipment.lua
+++ b/Broker_Equipment.lua
@@ -163,7 +163,7 @@ function addon:ADDON_LOADED(event, name)
 	self.info = {}
 	self.displayMode = 'MENU'

-	self:UNIT_INVENTORY_CHANGED()
+	updateInfo(Broker_EquipmentDB.text, Broker_EquipmentDB.icon)
 	self:RegisterEvent('EQUIPMENT_SETS_CHANGED')
 	self:RegisterEvent('UNIT_INVENTORY_CHANGED')
 	self:RegisterEvent('VARIABLES_LOADED')