Răsfoiți Sursa

Merge pull request #105404 from andOlga/patch-1

Fix typo in the description of RandomNumberGenerator.state
Thaddeus Crews 5 luni în urmă
părinte
comite
309177a3a1
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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.
 			print(rng.randf()) # Prints the same value as previously.
 			[/codeblock]
 			[/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] 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>
 		</member>
 	</members>
 	</members>
 </class>
 </class>