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.
1 parent b46623b commit 5334582Copy full SHA for 5334582
loader/mod_loader.gd
@@ -153,11 +153,16 @@ func _load_mod_zips():
153
while true:
154
# Get the next file in the directory
155
var mod_zip_file_name = dir.get_next()
156
+
157
# If there is no more file
158
if mod_zip_file_name == '':
159
# Stop loading mod zip files
160
break
161
162
+ # Ignore files that aren't ZIP or PCK
163
+ if mod_zip_file_name.get_extension() != "zip" && mod_zip_file_name.get_extension() != "pck":
164
+ continue
165
166
# If the current file is a directory
167
if dir.current_is_dir():
168
# Go to the next file
0 commit comments