summaryrefslogtreecommitdiff
path: root/doc/classes/SceneTree.xml
diff options
context:
space:
mode:
authorDuroxxigar <young9003@gmail.com>2021-10-22 14:28:37 -0400
committerDuroxxigar <young9003@gmail.com>2021-10-22 14:28:37 -0400
commitb2458ff575e1f5c5f62746345657d5159fbbf70b (patch)
tree82abcb8677865a7644485bb913c3218a60fb5a1a /doc/classes/SceneTree.xml
parentfad7034e8b8275ce89424185c6ccee4de6aebd7f (diff)
Replace remaining usages of yield with new await keyword
Diffstat (limited to 'doc/classes/SceneTree.xml')
-rw-r--r--doc/classes/SceneTree.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml
index ce7fd293d5..6d0ec44b69 100644
--- a/doc/classes/SceneTree.xml
+++ b/doc/classes/SceneTree.xml
@@ -66,7 +66,7 @@
[gdscript]
func some_function():
print("start")
- yield(get_tree().create_timer(1.0), "timeout")
+ await get_tree().create_timer(1.0).timeout
print("end")
[/gdscript]
[csharp]