Merge pull request #66485 from nikitalita/fix-file-access-zip

Prevent loading a zip with `--main-pack` from causing a stack overflow
This commit is contained in:
Rémi Verschelde 2022-09-27 09:59:45 +02:00
commit 7ea50158ad

View file

@ -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() {