fix typo in zipreader doc

This commit is contained in:
B. Ogan Mancarcı 2022-11-12 14:24:42 -08:00 committed by GitHub
parent c17f17eb98
commit fc260cade8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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