Browse Source

Document use of spaces in ConfigFile

Juan Linietsky 6 years ago
parent
commit
35b421b695
1 changed files with 1 additions and 0 deletions
  1. 1 0
      doc/classes/ConfigFile.xml

+ 1 - 0
doc/classes/ConfigFile.xml

@@ -25,6 +25,7 @@
 		    # Save the changes by overwriting the previous file
 		    # Save the changes by overwriting the previous file
 		    config.save("user://settings.cfg")
 		    config.save("user://settings.cfg")
 		[/codeblock]
 		[/codeblock]
+		Keep in mind that section and property names can't contain spaces. Anything after a space will be ignored on save and on load.
 	</description>
 	</description>
 	<tutorials>
 	<tutorials>
 	</tutorials>
 	</tutorials>