changeset 7:31048236391d

force a scan on login
author Chris Mellon <arkanes@gmai.com>
date Tue, 12 Oct 2010 18:37:59 -0500
parents bc661466f10c
children d0b83b70c7f8
files KBF.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/KBF.lua	Tue Oct 12 18:14:06 2010 -0500
+++ b/KBF.lua	Tue Oct 12 18:37:59 2010 -0500
@@ -18,6 +18,7 @@
     -- TODO: Fancy enable/disable based on whether you have any timed buffs.
     -- Not a big deal, how often do you care about that
     self.anchor:SetScript("OnUpdate", function() self:OnUpdate() end)
+    self.dirty = true -- force an immediate scan on login
 end
 -- naming convention
 -- "frame" is the secure aura button created by the group handler
@@ -207,6 +208,7 @@
     frame:SetAttribute("unit", "player") -- TODO: figure out the vehicle swapping stuff
     frame:SetAttribute("sortMethod", "NAME")
     frame:SetAttribute("sortOrder", "-")
+    frame:SetAttribute("includeWeapons", 1)
     frame:SetPoint("TOP", anchor, "BOTTOM", 0, 0)
 --   frame:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", 
 --                        edgeFile = "Interface/Tooltips/UI-Tooltip-Border",