Skip to content

Commit 3358adc

Browse files
authored
fix: Missed ModLoaderUtils to _ModLoaderFile change (#240)
1 parent 97eda11 commit 3358adc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addons/mod_loader/internal/script_extension.gd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ static func remove_all_extensions_from_all_scripts() -> void:
155155
# Used to remove a specific extension
156156
static func remove_specific_extension_from_script(extension_path: String) -> void:
157157
# Check path to file exists
158-
if not ModLoaderUtils.file_exists(extension_path):
158+
if not _ModLoaderFile.file_exists(extension_path):
159159
ModLoaderLog.error("The extension script path \"%s\" does not exist" % [extension_path], LOG_NAME)
160160
return
161161

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

0 commit comments

Comments
 (0)