View Single Post
08-18-13, 12:06 PM   #20
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
Join Date: May 2006
Posts: 281
Originally Posted by Lombra View Post
I don't really know what your code does. All I can say is the problem is ScaleFix is not initialized until ADDON_LOADED fires for your addon, which is some time after all the files in your addon has been loaded.

You have to make sure that either
a) you do not try to access caelLib.scale anywhere until after your addon has fully loaded (as indicated by the ADDON_LOADED event)
How can i delay my entire UI to load only once ADDON_LOADED has fired, delay a block of code is fine, but an entire UI ?
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
  Reply With Quote