Fix mistake in ConfigFile.xml

This commit is contained in:
char0xff 2018-09-15 21:06:32 +02:00
parent 2cf024ed91
commit 77ff6de27e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
var err = config.load("user://settings.cfg") var err = config.load("user://settings.cfg")
if err == OK: # if not, something went wrong with the file loading if err == OK: # if not, something went wrong with the file loading
# Look for the display/width pair, and default to 1024 if missing # 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 # Store a variable if and only if it hasn't been defined yet
if not config.has_section_key("audio", "mute"): if not config.has_section_key("audio", "mute"):
config.set_value("audio", "mute", false) config.set_value("audio", "mute", false)