From 58a935b57f2ef0d7c643ea74725f143380c4490c Mon Sep 17 00:00:00 2001 From: Asheraryam Date: Sat, 2 Feb 2019 20:35:18 +0200 Subject: [PATCH] Mismatched brackets Unnecessary right bracket, causing game script to fail compiling. --- tutorials/io/saving_games.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/io/saving_games.rst b/tutorials/io/saving_games.rst index ed2c08f10..768764ade 100644 --- a/tutorials/io/saving_games.rst +++ b/tutorials/io/saving_games.rst @@ -195,7 +195,7 @@ load function: # Firstly, we need to create the object and add it to the tree and set its position. var new_object = load(current_line["filename"]).instance() get_node(current_line["parent"]).add_child(new_object) - new_object.position = Vector2(current_line["pos_x"], current_line["pos_y"])) + new_object.position = Vector2(current_line["pos_x"], current_line["pos_y"]) # Now we set the remaining variables. for i in current_line.keys(): if i == "filename" or i == "parent" or i == "pos_x" or i == "pos_y":