Skip to content

Commit 4838f38

Browse files
committed
Remove support for objects in JSONConfigurationFile
1 parent 9978706 commit 4838f38

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

json_config_file/json_properties/json_property_json_config_file.gd

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ func set_json_config_file(json_config_file: JSONConfigFile) -> void:
1010

1111

1212
func _validate_type(config) -> void:
13-
if typeof(config) == TYPE_DICTIONARY:
14-
_result = config
15-
elif typeof(config) == TYPE_STRING:
13+
if typeof(config) == TYPE_STRING:
1614
_json_config_file.validate(_get_file_path(config))
1715

1816
for error in _json_config_file.get_errors():

0 commit comments

Comments
 (0)