WoWInterface - View Single Post - Overriding stuff mixed in
View Single Post
08-29-20, 01:46 PM   #4
A Pyroguard Emberseer
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,991
Originally Posted by Fizzlemizz View Post
PVPMatchResults.Onevent = onevents
and don't use:
PVPMatchResults:SetScript("OnEvent", onevents);
You can get away with this on dynamic frames, but the update doesn't work on functions already set as a handler. You still have to use :SetScript() to update those.
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 08-29-20 at 01:53 PM.
  Reply With Quote