You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If the override file exists we assume the ModLoader was setup with the --setup-create-override-cfg cli arg
182
+
# In that case the ModLoader will be the last entry in the autoload array
183
+
ifis_override_cfg_setup:
184
+
ModLoaderUtils.log_info("override.cfg setup detected, ModLoader will be the last autoload loaded.", LOG_NAME)
185
+
return
186
+
187
+
varbase_msg="ModLoader needs to be the first autoload to work correctly, "
188
+
varhelp_msg=""
189
+
180
190
ifOS.has_feature("editor"):
181
-
help_msg="To configure your autoloads, to go Project > Project Settings > Autoload, and add ModLoader as the first item. For more info, see the 'Godot Project Setup' page on the ModLoader GitHub wiki."
191
+
help_msg="To configure your autoloads, go to Project > Project Settings > Autoload, and add ModLoader as the first item. For more info, see the 'Godot Project Setup' page on the ModLoader GitHub wiki."
182
192
else:
183
193
help_msg="If you're seeing this error, something must have gone wrong in the setup process."
184
194
185
195
ifnotis_mod_loader_first:
186
196
ModLoaderUtils.log_fatal(str(base_msg, 'but the first autoload is currently: "%s". '%autoload_array[0], help_msg), LOG_NAME)
187
197
188
-
ifautoload_array.size() ==0:
189
-
ModLoaderUtils.log_fatal(str(base_msg, "but no autoloads are currently set up. ", help_msg), LOG_NAME)
190
-
191
198
192
199
# Loop over "res://mods" and add any mod zips to the unpacked virtual directory
0 commit comments