You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Restore FileAccess.close method.
This commit is contained in:
@@ -366,6 +366,10 @@ bool FileAccessPack::file_exists(const String &p_name) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void FileAccessPack::close() {
|
||||
f = Ref<FileAccess>();
|
||||
}
|
||||
|
||||
FileAccessPack::FileAccessPack(const String &p_path, const PackedData::PackedFile &p_file) :
|
||||
pf(p_file),
|
||||
f(FileAccess::open(pf.pack, FileAccess::READ)) {
|
||||
|
||||
Reference in New Issue
Block a user