Browse Source

Removed duplicated function in button hooking GDScript example in
step_by_step/scripting.rst
The final example at the mentioned tutorial had the function _on_Button_pressed as _on_button_pressed in the GDScript
example, this commit shall remove the duplicated function _on_button_pressed
Fixes #1556

Signed-off-by: Ibrahim Zidan <[email protected]>

Ibrahim Zidan 7 years ago
parent
commit
1944caf1dd
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;