diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-06-05 21:04:58 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-06-05 21:04:58 +0200 |
commit | 8569a0db3cd7010b55181c8922262ee346f07546 (patch) | |
tree | b09aa44f40fd52d8f4b8c80e684a6ededa354abc /doc/classes | |
parent | 6a69f92370ba82befdfdf3c2f798b6b2fd6df1fb (diff) |
Doc: Fix typo in File documentation
Fixes #19383.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/File.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/File.xml b/doc/classes/File.xml index bd368e967a..78aa1b1a61 100644 --- a/doc/classes/File.xml +++ b/doc/classes/File.xml @@ -9,13 +9,13 @@ [codeblock] func save(content): var file = File.new() - file.open("user://save_game.dat", file.WRITE) + file.open("user://save_game.dat", File.WRITE) file.store_string(content) file.close() func load(): var file = File.new() - file.open("user://save_game.dat", file.READ) + file.open("user://save_game.dat", File.READ) var content = file.get_as_text() file.close() return content |