View Single Post
06-27-16, 12:42 AM   #7
Layback_
An Onyxian Warder
Join Date: Feb 2016
Posts: 358
Originally Posted by Fizzlemizz View Post
Each parameter has to be getting what you expect. In this case, the event parameter was getting passed self (in this case the ResourceTrackFrame table) and the event landed in arg1.

Add "PLAYER_ENTERING_WORLD" to the registered events and
Code:
local function ResourceTrackFrame_OnEvent(self, event, arg1)
print(self, event, arg1)
reload the ui.
oh.............. you are totally right..........

I was so dumb D:

Thank you for your correction
  Reply With Quote