mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-23 07:58:09 +00:00
Allow Mod Loader to automatically add hooks on export (#405)
* Update Mod Loader and Tool addons * Mod tool checks if script exists before reloading * Change script export mode to Text for hook export * Change return type of load_image_from_path to Texture2D
This commit is contained in:
@@ -49,6 +49,7 @@ static func check_dependencies(mod: ModData, is_required := true, dependency_cha
|
||||
_handle_missing_dependency(mod_id, dependency_id)
|
||||
# Flag the mod so it's not loaded later
|
||||
mod.is_loadable = false
|
||||
mod.is_active = false
|
||||
else:
|
||||
var dependency: ModData = ModLoaderStore.mod_data[dependency_id]
|
||||
|
||||
|
Reference in New Issue
Block a user