From 5cd88f9857f3268e3b072f7f0c9559a6378e29c9 Mon Sep 17 00:00:00 2001 From: Max Hilbrunner Date: Tue, 13 Mar 2018 19:05:52 +0100 Subject: [PATCH] Fix #958 --- learning/scripting/gdscript/gdscript_advanced.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/learning/scripting/gdscript/gdscript_advanced.rst b/learning/scripting/gdscript/gdscript_advanced.rst index 46129f549..1e254fda3 100644 --- a/learning/scripting/gdscript/gdscript_advanced.rst +++ b/learning/scripting/gdscript/gdscript_advanced.rst @@ -310,9 +310,8 @@ states and quick structs: # indexing - d.mother = "rebecca" # this doesn't work (use syntax below to add a key:value pair) d["mother"] = "rebecca" # this works - d.name = "caroline" # if key exists, assignment does work, this is why it's like a quick struct. + d.mother = "caroline" # this would work too to create a new key For & while -----------