mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #68581 from oganm/oganm/master
fix typo in ZIPReader doc
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user