From 07784e7d3fada54d4bdb6a4bf35aca876303178f Mon Sep 17 00:00:00 2001 From: Chris Bradfield Date: Fri, 28 Dec 2018 17:39:37 -0800 Subject: [PATCH] Fix typo in singletons_autoload --- getting_started/step_by_step/singletons_autoload.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getting_started/step_by_step/singletons_autoload.rst b/getting_started/step_by_step/singletons_autoload.rst index d18a5b5a3..03f4e6dcb 100644 --- a/getting_started/step_by_step/singletons_autoload.rst +++ b/getting_started/step_by_step/singletons_autoload.rst @@ -238,7 +238,7 @@ Finally, we need to fill the empty callback functions in the two scenes: # Add to 'Scene1.gd'. func _on_Button_pressed(): - Global.goto_scene("res://Scene1.tscn") + Global.goto_scene("res://Scene2.tscn") .. code-tab:: csharp @@ -258,7 +258,7 @@ and # Add to 'Scene2.gd'. func _on_Button_pressed(): - Global.goto_scene("res://Scene2.tscn") + Global.goto_scene("res://Scene1.tscn") .. code-tab:: csharp