Browse Source

Merge pull request #105404 from andOlga/patch-1

Fix typo in the description of RandomNumberGenerator.state
Thaddeus Crews 5 months ago
parent
commit
309177a3a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/RandomNumberGenerator.xml

+ 1 - 1
doc/classes/RandomNumberGenerator.xml

@@ -103,7 +103,7 @@
 			print(rng.randf()) # Prints the same value as previously.
 			[/codeblock]
 			[b]Note:[/b] Do not set state to arbitrary values, since the random number generator requires the state to have certain qualities to behave properly. It should only be set to values that came from the state property itself. To initialize the random number generator with arbitrary input, use [member seed] instead.
-			[b]Note:[/b] The default value of this property is pseudo-random, and changes when calling [method randomize]. The [code]0[/code] value documented here is a placeholder, and not the actual default seed.
+			[b]Note:[/b] The default value of this property is pseudo-random, and changes when calling [method randomize]. The [code]0[/code] value documented here is a placeholder, and not the actual default state.
 		</member>
 	</members>
 </class>