summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-22 12:36:45 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-22 12:36:45 +0100
commite3a51e53ef055a1fe94351b68173c6dfcd2cb371 (patch)
treef2dd275bcc5ddeb04f4631264fdd0fbf7d36b2f7
parent876ea3e143047e09cbc8fa106c4769b5003857fa (diff)
parentfc260cade897b800ecbd9cad686fd3ef2b8694ae (diff)
Merge pull request #68581 from oganm/oganm/master
fix typo in ZIPReader doc
-rw-r--r--modules/zip/doc_classes/ZIPReader.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/zip/doc_classes/ZIPReader.xml b/modules/zip/doc_classes/ZIPReader.xml
index 717116a531..055201b105 100644
--- a/modules/zip/doc_classes/ZIPReader.xml
+++ b/modules/zip/doc_classes/ZIPReader.xml
@@ -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()