Reset whoer regardless of enabled (it gets stuck otherwise)
This commit is contained in:
@@ -243,6 +243,7 @@ function shared.Whoer.Init()
|
||||
local frame = CreateFrame("Frame")
|
||||
frame:RegisterEvent("WHO_LIST_UPDATE")
|
||||
frame:SetScript("OnEvent", function(self, event, ...)
|
||||
queryPending = false
|
||||
if not Heimdall_Data.config.who.enabled then return end
|
||||
---@type WHOQuery?
|
||||
local query = lastQuery
|
||||
@@ -320,7 +321,6 @@ function shared.Whoer.Init()
|
||||
-- Turns out WA cannot do this (
|
||||
-- aura_env.UpdateMacro()
|
||||
_G["FriendsFrameCloseButton"]:Click()
|
||||
queryPending = false
|
||||
end)
|
||||
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user