From 8d796d826e5dc3c477ed7e853c72f8e0f87db836 Mon Sep 17 00:00:00 2001 From: &Olga <462484+andOlga@users.noreply.github.com> Date: Tue, 15 Apr 2025 12:14:38 +0400 Subject: [PATCH] Fix typo in the description of RandomNumberGenerator.state The second note of this doc mentions that "the value documented here is [...] not the actual default seed". I have corrected this to say that it's not the default "state" instead, since it has no reason to ever match the seed. --- doc/classes/RandomNumberGenerator.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/RandomNumberGenerator.xml b/doc/classes/RandomNumberGenerator.xml index e06cc1c9844..d4a4a0c63aa 100644 --- a/doc/classes/RandomNumberGenerator.xml +++ b/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.