events before EVENT_ADD_ON_LOADED
Just making a note for myself and others.
Logged onto the PTS and got an "attempt to index a nil value" error that appears to originate from my EVENT_SKILLS_FULL_UPDATE handler, and that nil value is a table from saved vars, initialized in EVENT_ADD_ON_LOADED.
That means the skills update event arrived before add-on loaded event. Of course it's my fault registering a handler that relies on saved vars before initializing the saved vars. I just didn't know there were events coming before EVENT_ADD_ON_LOADED.
|