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

Move default profile creation in mod_loader.gd from _ready() to _load_mods() #465

Open
KANAjetzt opened this issue Nov 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@KANAjetzt
Copy link
Member

KANAjetzt commented Nov 23, 2024

Can be salvaged from

Moved default profile creation in mod_loader.gd from _ready() to _load_mods().
This is required so mod configs can be loaded on the first run of the game.

https://github.com/KANAjetzt/godot-mod-loader/blob/cea915e276a59c7b8c89f4c103e7d3147fdbf879/addons/mod_loader/mod_loader.gd#L111-L121

The default user profile should be created before mod configs are loaded. Without a user profile, the configs cannot be saved.

@KANAjetzt KANAjetzt added the enhancement New feature or request label Nov 23, 2024
@KANAjetzt KANAjetzt changed the title Moved default profile creation in mod_loader.gd from _ready() to _load_mods() Move default profile creation in mod_loader.gd from _ready() to _load_mods() Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant