Skip to content

feat: ✨ Missed ModLoaderUtils to _ModLoaderFile change #240

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

Merged
merged 1 commit into from
May 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions addons/mod_loader/internal/script_extension.gd
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ static func remove_all_extensions_from_all_scripts() -> void:
# Used to remove a specific extension
static func remove_specific_extension_from_script(extension_path: String) -> void:
# Check path to file exists
if not ModLoaderUtils.file_exists(extension_path):
if not _ModLoaderFile.file_exists(extension_path):
ModLoaderLog.error("The extension script path \"%s\" does not exist" % [extension_path], LOG_NAME)
return

Expand Down Expand Up @@ -200,7 +200,7 @@ static func remove_specific_extension_from_script(extension_path: String) -> voi
# Used to fully reset the provided script to a state prior of any extension
static func _remove_all_extensions_from_script(parent_script_path: String) -> void:
# Check path to file exists
if not ModLoaderUtils.file_exists(parent_script_path):
if not _ModLoaderFile.file_exists(parent_script_path):
ModLoaderLog.error("The parent script path \"%s\" does not exist" % [parent_script_path], LOG_NAME)
return

Expand Down