Merge pull request #95485 from sepTN/clarify-timer-docs

Clarify `Timer.start()` documentation to match the current behavior.
This commit is contained in:
Rémi Verschelde 2024-08-16 14:35:01 +02:00
commit 63397b5b17
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -28,7 +28,7 @@
<return type="void" />
<param index="0" name="time_sec" type="float" default="-1" />
<description>
Starts the timer, if it was not started already. Fails if the timer is not inside the tree. If [param time_sec] is greater than [code]0[/code], this value is used for the [member wait_time].
Starts the timer, or resets the timer if it was started already. Fails if the timer is not inside the tree. If [param time_sec] is greater than [code]0[/code], this value is used for the [member wait_time].
[b]Note:[/b] This method does not resume a paused timer. See [member paused].
</description>
</method>