Explorar o código

Fixed a typo in a code example

I added a semi-colon to an example, without it the code would crash. Probably a typo.
Bas Cornelissen %!s(int64=6) %!d(string=hai) anos
pai
achega
292ff6051b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      getting_started/step_by_step/scripting.rst

+ 1 - 1
getting_started/step_by_step/scripting.rst

@@ -238,7 +238,7 @@ the following underneath the ``_ready()`` function:
 
     public override void _Ready()
     {
-        GetNode("Button")
+        GetNode("Button");
     }
 
 Next, write a function which will be called when the button is pressed: