You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Fixed dir access return value, changed it to Error like all other funcs
This commit is contained in:
@@ -1830,9 +1830,9 @@ Error _Directory::open(const String& p_path) {
|
||||
return OK;
|
||||
}
|
||||
|
||||
bool _Directory::list_dir_begin() {
|
||||
Error _Directory::list_dir_begin() {
|
||||
|
||||
ERR_FAIL_COND_V(!d,false);
|
||||
ERR_FAIL_COND_V(!d,ERR_UNCONFIGURED);
|
||||
return d->list_dir_begin();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user