Browse Source

Merge pull request #1573 from rcorre/patch-1

Remove duplicate line from scripting tutorial
Max Hilbrunner 7 years ago
parent
commit
9b3b504224
1 changed files with 0 additions and 3 deletions
  1. 0 3
      getting_started/step_by_step/scripting.rst

+ 0 - 3
getting_started/step_by_step/scripting.rst

@@ -290,9 +290,6 @@ The final script should look like this:
     func _on_Button_pressed():
         get_node("Label").text = "HELLO!"
 
-    func _on_button_pressed():
-        get_node("Label").text = "HELLO!"
-
  .. code-tab:: csharp
 
     using Godot;