diff --git a/getting_started/workflow/best_practices/scenes_versus_scripts.rst b/getting_started/workflow/best_practices/scenes_versus_scripts.rst index 2090b3e19..8437c1af7 100644 --- a/getting_started/workflow/best_practices/scenes_versus_scripts.rst +++ b/getting_started/workflow/best_practices/scenes_versus_scripts.rst @@ -186,7 +186,7 @@ with it, and finally adds it as a child of the ``Main`` node: { Child = new Node(); Child.Name = "Child"; - Child.Script = (Script)ResourceLoader.Load("child.gd"); + Child.Script = ResourceLoader.Load