diff --git a/reference/gdscript.rst b/reference/gdscript.rst index 9ebc57591..f6a35ad60 100644 --- a/reference/gdscript.rst +++ b/reference/gdscript.rst @@ -1142,7 +1142,7 @@ signal is received, execution will recommence. Here are some examples: # Resume execution when animation is done playing: yield( get_node("AnimationPlayer"), "finished" ) - # Wait 5 seconds, then resume execution (Godot 2.2+) + # Wait 5 seconds, then resume execution (Godot 2.2+) yield( get_tree().create_timer(5.0), "timeout" ) Onready keyword