diff options
author | B. Ogan Mancarcı <ogan.mancarcii@gmail.com> | 2022-11-12 14:24:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-12 14:24:42 -0800 |
commit | fc260cade897b800ecbd9cad686fd3ef2b8694ae (patch) | |
tree | 649711b1523d32d026d3f72ccda144c1476f2dc0 | |
parent | c17f17eb98188a7134c85bdbdf0123127c462046 (diff) |
fix typo in zipreader doc
-rw-r--r-- | modules/zip/doc_classes/ZIPReader.xml | 2 |
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() |