Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preventing loading game dirs of disabled channels #150

Open
shakty opened this issue Dec 10, 2020 · 0 comments
Open

Preventing loading game dirs of disabled channels #150

shakty opened this issue Dec 10, 2020 · 0 comments

Comments

@shakty
Copy link
Member

shakty commented Dec 10, 2020

Right now, setting channel enabled in file channel.settings.js disables the channel, but it still loads the game dir (see GameLoader line 149)

If a game is loading a dataset in the setup file, this slows down things considerably for no reason.

One solution could be to call settings = this.loadChannelFile(directory, gameName) outside of loadChannelDir and move things around in the loading function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant