Fix Details_TargetCaller
This commit is contained in:
parent
2730507075
commit
3e1ecb3d4f
1 changed files with 1 additions and 3 deletions
|
|
@ -299,14 +299,13 @@ do
|
|||
return
|
||||
end
|
||||
--> delay startloop, sometimes we get a roster event update after the enter combat event
|
||||
local timer = C_Timer.NewTimer (5, targetCaller.StartLoop)
|
||||
local timer = C_Timer.NewTimer (0.1, targetCaller.StartLoop)
|
||||
targetCaller.StartDelay = timer
|
||||
end
|
||||
end
|
||||
|
||||
--> when receiving an event from details, handle it here
|
||||
local handle_details_event = function (event, ...)
|
||||
|
||||
if (event == "HIDE") then
|
||||
--> the user closed the window or selected other plugin / mode
|
||||
targetCaller.EndLoop()
|
||||
|
|
@ -380,7 +379,6 @@ do
|
|||
end
|
||||
|
||||
function targetCaller:OnEvent (_, event, ...)
|
||||
|
||||
if (event == "GROUP_ROSTER_UPDATE") then
|
||||
targetCaller.UpdateRoster()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue