Fix FriendsFrame_OnEvent to pass additional parameters so it actually works naturally
This commit is contained in:
@@ -725,8 +725,8 @@ shared.Whoer = {
|
|||||||
Tick()
|
Tick()
|
||||||
end
|
end
|
||||||
local original_FriendsFrame_OnEvent = FriendsFrame_OnEvent
|
local original_FriendsFrame_OnEvent = FriendsFrame_OnEvent
|
||||||
local function my_FriendsFrame_OnEvent(event)
|
local function my_FriendsFrame_OnEvent(self, event, ...)
|
||||||
if not (event == "WHO_LIST_UPDATE" and whoWaiting) then original_FriendsFrame_OnEvent() end
|
if not (event == "WHO_LIST_UPDATE" and whoWaiting) then original_FriendsFrame_OnEvent(self, event, ...) end
|
||||||
end
|
end
|
||||||
FriendsFrame_OnEvent = my_FriendsFrame_OnEvent
|
FriendsFrame_OnEvent = my_FriendsFrame_OnEvent
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user