mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Fix DirAccess usage
This commit is contained in:
parent
7ac180d431
commit
ca7f161c87
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue