Skip to content

Commit 806f826

Browse files
fix config_defaults using wrong property
1 parent abf530e commit 806f826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/mod_loader/mod_loader.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ func get_mod_config(mod_id:String = "", key:String = "")->Dictionary:
497497
# Mod ID is valid
498498
if error_num == 0:
499499
var config_data = mod_data[mod_id].config
500-
defaults = mod_data[mod_id].mod_manifest.extra.godot.config_defaults
500+
defaults = mod_data[mod_id].manifest.config_defaults
501501

502502
# No custom JSON file
503503
if config_data.size() == 0:

0 commit comments

Comments
 (0)