Browse Source

Merge pull request #2315 from DeH4er/patch-1

gdscript_basics missing double quotes
Rémi Verschelde 6 years ago
parent
commit
8be1ead971
1 changed files with 2 additions and 2 deletions
  1. 2 2
      getting_started/scripting/gdscript/gdscript_basics.rst

+ 2 - 2
getting_started/scripting/gdscript/gdscript_basics.rst

@@ -1540,14 +1540,14 @@ Extending a previous example to use all the features of GDScript signals:
 
    func _process(delta):
       if delta == your_data:
-         emit_signal("data_found", data)
+         emit_signal("data_found", your_data)
 
 ::
 
    # your_handler.gd
 
    func your_handler(data, obj):
-      print("Your handler was called from: ", obj.get_name(), with data: ", data)
+      print("Your handler was called from: ", obj.get_name(), " with data: ", data)
 
 ::