瀏覽代碼

Merge pull request #105404 from andOlga/patch-1

Fix typo in the description of RandomNumberGenerator.state
Thaddeus Crews 5 月之前
父節點
當前提交
309177a3a1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>