You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.
Currently, libraries are loaded in whatever order find.FindInLua returns. This can cause issues when one library depends on another to be loaded because it extends on it, etc. The entities library is a good example of this, since the wire, player, and hologram libraries will extend on it and require it to be loaded first, which it is because file.FindInLua sorts alphabetically.
A better system would be to have a function available during loadtime that suspends loading until the specified file is finished loading. This would be really easy with coroutines in Gm13.
The text was updated successfully, but these errors were encountered:
daranable
pushed a commit
to daranable/Starfall-Original
that referenced
this issue
Jan 24, 2015
Currently, libraries are loaded in whatever order find.FindInLua returns. This can cause issues when one library depends on another to be loaded because it extends on it, etc. The entities library is a good example of this, since the wire, player, and hologram libraries will extend on it and require it to be loaded first, which it is because file.FindInLua sorts alphabetically.
A better system would be to have a function available during loadtime that suspends loading until the specified file is finished loading. This would be really easy with coroutines in Gm13.
The text was updated successfully, but these errors were encountered: