From a8b2e475fafd756eeeee0e9eda4427119733b1b4 Mon Sep 17 00:00:00 2001 From: char0xff Date: Sat, 15 Sep 2018 21:06:32 +0200 Subject: [PATCH] Fix mistake in ConfigFile.xml (cherry picked from commit 77ff6de27e1a976f9001097779b03729228cc31d) --- doc/classes/ConfigFile.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/ConfigFile.xml b/doc/classes/ConfigFile.xml index fe437cb9b8f..af80da53d7e 100644 --- a/doc/classes/ConfigFile.xml +++ b/doc/classes/ConfigFile.xml @@ -18,7 +18,7 @@ var err = config.load("user://settings.cfg") if err == OK: # if not, something went wrong with the file loading # Look for the display/width pair, and default to 1024 if missing - var screen_width = get_value("display", "width", 1024) + var screen_width = config.get_value("display", "width", 1024) # Store a variable if and only if it hasn't been defined yet if not config.has_section_key("audio", "mute"): config.set_value("audio", "mute", false)