From fc260cade897b800ecbd9cad686fd3ef2b8694ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=2E=20Ogan=20Mancarc=C4=B1?= Date: Sat, 12 Nov 2022 14:24:42 -0800 Subject: fix typo in zipreader doc --- modules/zip/doc_classes/ZIPReader.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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() -- cgit v1.2.3