View Single Post
12-01-19, 04:03 AM   #4
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
You don't need ADDON_LOADED anymore. Use PLAYER_LOGIN to set up everything including your saved variable.

Added bonus: you won't need to unregister PLAYER_LOGIN as it only fires once, whereas if you stick with ADDON_LOADED you ought to unregister it after you are done setting up.

PLAYER_LOGIN > ADDON_LOADED.
  Reply With Quote