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