Browse Source

Merge pull request #1558 from hemagx/fix_stepbystep_scripting

Removed duplicated function in button hooking GDScript example in
Rémi Verschelde 7 years ago
parent
commit
1180796639
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;