Skip to content
This repository was archived by the owner on Dec 23, 2019. It is now read-only.
This repository was archived by the owner on Dec 23, 2019. It is now read-only.

Library dependencies #124

@ColonelThirtyTwo

Description

@ColonelThirtyTwo

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions