mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 18:40:49 +00:00
hunterbar: reset scan results on event
This commit is contained in:
@@ -13,6 +13,9 @@ pfUI:RegisterModule("hunterbar", function ()
|
|||||||
pfUI.hunterbar:RegisterEvent("ACTIONBAR_SLOT_CHANGED")
|
pfUI.hunterbar:RegisterEvent("ACTIONBAR_SLOT_CHANGED")
|
||||||
pfUI.hunterbar:RegisterEvent("PLAYER_ENTERING_WORLD")
|
pfUI.hunterbar:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||||
pfUI.hunterbar:SetScript("OnEvent", function()
|
pfUI.hunterbar:SetScript("OnEvent", function()
|
||||||
|
pfUI.hunterbar.melee = nil
|
||||||
|
pfUI.hunterbar.ranged = nil
|
||||||
|
|
||||||
for i=1,120 do
|
for i=1,120 do
|
||||||
if pfUI.hunterbar.melee and pfUI.hunterbar.ranged then return end
|
if pfUI.hunterbar.melee and pfUI.hunterbar.ranged then return end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user