Skip to content

Commit

Permalink
updated description of Array.shuffle to properly describe that it use…
Browse files Browse the repository at this point in the history
…s the same common seed at every runtime, thus being reproducible in general
  • Loading branch information
hbina committed May 11, 2019
1 parent 89c37da commit d02ecd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Array.xml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
</method>
<method name="shuffle">
<description>
Shuffles the array such that the items will have a random order.
Shuffles the array such that the items will have a random order. This method uses the global random number generator common to methods such as [method @GDScript.randi]. Call [method @GDScript.randomize] to ensure that a new seed will be used each time if you want non-reproducible shuffling.
</description>
</method>
<method name="size">
Expand Down

0 comments on commit d02ecd5

Please sign in to comment.