From 796ea60d114eb6a230d8713c6b7c6930af5c37dc Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 5 Dec 2021 18:39:10 +0100 Subject: [PATCH] Document SceneTreeTimer being freed automatically when elapsed The note was present in the SceneTree `create_timer()` class documentation, but not in the SceneTreeTimer class documentation. --- doc/classes/SceneTreeTimer.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/SceneTreeTimer.xml b/doc/classes/SceneTreeTimer.xml index 8b8235dbef8..f24b95a1318 100644 --- a/doc/classes/SceneTreeTimer.xml +++ b/doc/classes/SceneTreeTimer.xml @@ -12,6 +12,7 @@ yield(get_tree().create_timer(1.0), "timeout") print("Timer ended.") [/codeblock] + The timer will be automatically freed after its time elapses. @@ -19,7 +20,7 @@ - The time remaining. + The time remaining (in seconds).