Skip to content

Commit

Permalink
Merge pull request #8265 from Piralein/autoload
Browse files Browse the repository at this point in the history
fix file casing in singletons_autoload tutorial
  • Loading branch information
mhilbrunner authored Oct 23, 2023
2 parents aa86be5 + 63ad1da commit 4ff7893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/scripting/singletons_autoload.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Finally, we need to fill the empty callback functions in the two scenes:
.. tabs::
.. code-tab:: gdscript GDScript

# Add to 'Scene1.gd'.
# Add to 'scene_1.gd'.

func _on_button_pressed():
Global.goto_scene("res://scene_2.tscn")
Expand All @@ -270,7 +270,7 @@ and
.. tabs::
.. code-tab:: gdscript GDScript

# Add to 'Scene2.gd'.
# Add to 'scene_2.gd'.

func _on_button_pressed():
Global.goto_scene("res://scene_1.tscn")
Expand Down

0 comments on commit 4ff7893

Please sign in to comment.