From 3d0c44c85cdf910d2d5c300084589921bc1fb56f Mon Sep 17 00:00:00 2001 From: oddfacade Date: Sat, 24 Jun 2023 16:38:26 -0400 Subject: [PATCH] Fix extensions_folder typo The property is supposed to be `dialogic/extensions_folder`, plural and without the trailing `/`. This broke custom extensions folders. --- addons/dialogic/Other/DialogicUtil.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/dialogic/Other/DialogicUtil.gd b/addons/dialogic/Other/DialogicUtil.gd index db5efd591..20bc39d52 100644 --- a/addons/dialogic/Other/DialogicUtil.gd +++ b/addons/dialogic/Other/DialogicUtil.gd @@ -94,9 +94,9 @@ static func get_indexers(include_custom := true, force_reload := false) -> Array var possible_script:String = DialogicUtil.get_module_path(file).path_join("index.gd") if FileAccess.file_exists(possible_script): indexers.append(load(possible_script).new()) - + if include_custom: - var extensions_folder :String= ProjectSettings.get_setting('dialogic/extension_folder/', "res://addons/dialogic_additions/") + var extensions_folder: String = ProjectSettings.get_setting('dialogic/extensions_folder', "res://addons/dialogic_additions/") for file in listdir(extensions_folder, false, false): var possible_script: String = extensions_folder.path_join(file + "/index.gd") if FileAccess.file_exists(possible_script):