mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Fix emit_signal() call in GDScript basics' coroutine example (#4559)
The first argument of emit_signal be the signal name.
This commit is contained in:
@@ -1605,7 +1605,7 @@ the arguments::
|
||||
yield(get_tree(), "idle_frame")
|
||||
print("Waiting")
|
||||
yield(get_tree(), "idle_frame")
|
||||
emit_signal(input, "Processed " + input)
|
||||
emit_signal("done", input, "Processed " + input)
|
||||
|
||||
|
||||
func _ready():
|
||||
|
||||
Reference in New Issue
Block a user