summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authornikitalita <69168929+nikitalita@users.noreply.github.com>2022-09-26 20:47:00 -0700
committernikitalita <69168929+nikitalita@users.noreply.github.com>2022-09-26 20:47:00 -0700
commitaf548ee8e9f9238271ee36d48aac2b01d4e765c7 (patch)
treee76934be253b5b7a662ff15d2d690251e4db2835 /core
parent84f2c68c84bde10026454292578e5fdcc9ab69a3 (diff)
Fix FileAccessZip() causing a stack overflow
Diffstat (limited to 'core')
-rw-r--r--core/io/file_access_zip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_zip.cpp b/core/io/file_access_zip.cpp
index 2af6f370cf..72503851c1 100644
--- a/core/io/file_access_zip.cpp
+++ b/core/io/file_access_zip.cpp
@@ -337,7 +337,7 @@ bool FileAccessZip::file_exists(const String &p_name) {
}
FileAccessZip::FileAccessZip(const String &p_path, const PackedData::PackedFile &p_file) {
- _open(p_path, FileAccess::READ);
+ open_internal(p_path, FileAccess::READ);
}
FileAccessZip::~FileAccessZip() {