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

enable reload_mods again #446

Open
Qubus0 opened this issue Nov 18, 2024 · 1 comment
Open

enable reload_mods again #446

Qubus0 opened this issue Nov 18, 2024 · 1 comment

Comments

@Qubus0
Copy link
Collaborator

Qubus0 commented Nov 18, 2024

todo from #416

@Qubus0
Copy link
Collaborator Author

Qubus0 commented Dec 3, 2024

i disabled it because _apply_mods changed quite a lot and i was pretty sure it's broken. just needs to be validated to be working correctly. there might be more that might need to be cleaned up for a proper reload

# Internal call to reload mods
func _reload_mods() -> void:
pass #TODO fix
printerr("_reload_mods is currently disabled, sorry")
#_reset_mods()
#var mod_zip_paths := _get_mod_zip_paths()
#_apply_mods(mod_zip_paths)
# Internal call that handles the resetting of all mod related data
func _reset_mods() -> void:
_disable_mods()
ModLoaderStore.mod_data.clear()
ModLoaderStore.mod_load_order.clear()
ModLoaderStore.mod_missing_dependencies.clear()
ModLoaderStore.script_extensions.clear()

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

No branches or pull requests

2 participants