diff --git a/addons/gut/gui/gut_config_gui.gd b/addons/gut/gui/gut_config_gui.gd index b280e0f..bf4c1ec 100644 --- a/addons/gut/gui/gut_config_gui.gd +++ b/addons/gut/gui/gut_config_gui.gd @@ -273,7 +273,8 @@ func get_config_issues(): var path = _cfg_ctrls[key].text if path != null and path != "": has_directory = true - if !DirAccess.dir_exists(path): + var dir = DirAccess.open(".") + if !dir.dir_exists(path): to_return.append(str("Test directory ", path, " does not exist.")) if !has_directory: