Originally Posted by BoarGules
Thank you. I didn't know that the order of the modules in the .txt file was significant. So it was a typo, of a sort.
|
The order of the files in the.txt determines the load order of the files. When a file is loaded it'll run all the code there. If some code is within a function, unless the function is called it won't be run, but the function will be created. The event for add-on initialized is fired anytime an add-ons files are all loaded. Thus, you can put the LibStub file inside that and it won't matter where in the manifest libstuf is.