summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-01-19 10:18:09 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-01-19 10:18:11 +0100
commit05c8654390374551e964c19e9d4e14289c393663 (patch)
tree45c227dd7f5d2185abf849113188e03acce7daf1
parentd7072e9cd4d770b8de0cded3e33a3e877a898a9e (diff)
doc: Timer.autostart resets to false on start
Fixes #35289.
-rw-r--r--doc/classes/CPUParticles2D.xml2
-rw-r--r--doc/classes/Timer.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/CPUParticles2D.xml b/doc/classes/CPUParticles2D.xml
index dac00051a9..0a376278f8 100644
--- a/doc/classes/CPUParticles2D.xml
+++ b/doc/classes/CPUParticles2D.xml
@@ -361,7 +361,7 @@
Particles will be emitted at a position chosen randomly among [member emission_points]. Particle velocity and rotation will be set based on [member emission_normals]. Particle color will be modulated by [member emission_colors].
</constant>
<constant name="EMISSION_SHAPE_MAX" value="5" enum="EmissionShape">
- Represents the size of the [enum EmissionShape] enum.
+ Represents the size of the [enum EmissionShape] enum.
</constant>
</constants>
</class>
diff --git a/doc/classes/Timer.xml b/doc/classes/Timer.xml
index 3e4b68d91d..9e8eb3314d 100644
--- a/doc/classes/Timer.xml
+++ b/doc/classes/Timer.xml
@@ -37,6 +37,7 @@
<members>
<member name="autostart" type="bool" setter="set_autostart" getter="has_autostart" default="false">
If [code]true[/code], the timer will automatically start when entering the scene tree.
+ [b]Note:[/b] This property is automatically set to [code]false[/code] after the timer enters the scene tree and starts.
</member>
<member name="one_shot" type="bool" setter="set_one_shot" getter="is_one_shot" default="false">
If [code]true[/code], the timer will stop when reaching 0. If [code]false[/code], it will restart.