We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
is_version_below
1 parent 4babf49 commit ea72b1aCopy full SHA for ea72b1a
addons/mod_loader/internal/file.gd
@@ -195,10 +195,7 @@ static func file_exists_in_zip(zip_path: String, path: String) -> bool:
195
if not reader:
196
return false
197
198
- if _ModLoaderGodot.is_version_below(_ModLoaderGodot.ENGINE_VERSION_HEX_4_2_0):
199
- return reader.get_files().has(path.trim_prefix("res://"))
200
- else:
201
- return reader.file_exists(path.trim_prefix("res://"))
+ return reader.get_files().has(path.trim_prefix("res://"))
202
203
204
static func get_mod_dir_name_in_zip(zip_path: String) -> String:
0 commit comments