# HG changeset patch # User Chris Mellon # Date 1286926679 18000 # Node ID 31048236391d834718e9d9e7844c0de4b18a8adc # Parent bc661466f10c391d250c3d8ec7efcbbe58240d97 force a scan on login diff -r bc661466f10c -r 31048236391d KBF.lua --- 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",