Merge pull request #68581 from oganm/oganm/master

fix typo in ZIPReader doc
This commit is contained in:
Rémi Verschelde 2022-11-22 12:36:45 +01:00
commit e3a51e53ef
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -9,7 +9,7 @@
func read_zip_file():
var reader := ZIPReader.new()
var err := reader.open("user://archive.zip")
if err == OK:
if err != OK:
return PackedByteArray()
var res := reader.read_file("hello.txt")
reader.close()