From 176f5c648de45253e2841936f5a37a1faf92e507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 5 Jun 2018 21:04:58 +0200 Subject: [PATCH] Doc: Fix typo in File documentation Fixes #19383. (cherry picked from commit 8569a0db3cd7010b55181c8922262ee346f07546) --- doc/classes/File.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/File.xml b/doc/classes/File.xml index fc05a2961d8..ca598fc9f95 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