Fix description about SceneTreeTimer auto free

(cherry picked from commit 5a011f5999)
This commit is contained in:
Haoyu Qiu 2022-06-10 17:54:18 +08:00 committed by Rémi Verschelde
parent dad7502b8a
commit 5569d4d2de

View file

@ -12,7 +12,7 @@
yield(get_tree().create_timer(1.0), "timeout")
print("Timer ended.")
[/codeblock]
The timer will be automatically freed after its time elapses, so be aware that any reference you might have kept to it will become invalid.
The timer will be dereferenced after its time elapses. To preserve the timer, you can keep a reference to it. See [Reference].
</description>
<tutorials>
</tutorials>