Guess I should correct some errors!
First of all, OnEnable function for the initial spec is being successfully called on addon's OnInitialize function. However, OnDisable function for the other two are still not working.
In addition to that, on specialization switch, the old spec's OnDisable function and the new spec's OnEnable function get called even if I disable the third spec's module as well.
(pretty sure this is an intended behavior, tho...)
Last edited by Layback_ : 12-28-17 at 01:29 AM.
|