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:
Karl
2021-01-18 17:04:59 -08:00
committed by GitHub
parent 0f3fff42ee
commit 047ffb9673

View File

@@ -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():