File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
addons/mod_loader/classes Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ func _init(manifest: Dictionary) -> void:
97
97
compatible_mod_loader_version = _handle_compatible_mod_loader_version (mod_id , godot_details )
98
98
description_rich = ModLoaderUtils .get_string_from_dict (godot_details , "description_rich" )
99
99
tags = ModLoaderUtils .get_array_from_dict (godot_details , "tags" )
100
- config_schema = godot_details . config_schema
100
+ config_schema = ModLoaderUtils . get_dict_from_dict ( godot_details , " config_schema" )
101
101
102
102
if (
103
103
not is_mod_id_array_valid (mod_id , dependencies , "dependency" ) or
@@ -136,7 +136,8 @@ func _init(manifest: Dictionary) -> void:
136
136
):
137
137
return
138
138
139
- _handle_mod_config ()
139
+ if not config_schema .empty ():
140
+ _handle_mod_config ()
140
141
141
142
142
143
# Mod ID used in the mod loader
You can’t perform that action at this time.
0 commit comments