You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Revert "Fix FileSystem dock won't show any file folders"
This reverts commit 72856d633a.
Fixes #93022.
This commit is contained in:
@@ -59,9 +59,11 @@ bool FileAccess::exists(const String &p_name) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Using file_exists because it's faster then trying to open the file.
|
||||
Ref<FileAccess> ret = create_for_path(p_name);
|
||||
return ret->file_exists(p_name);
|
||||
Ref<FileAccess> f = open(p_name, READ);
|
||||
if (f.is_null()) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void FileAccess::_set_access_type(AccessType p_access) {
|
||||
|
||||
Reference in New Issue
Block a user