Skip to content

Commit

Permalink
Merge pull request #28832 from hbina/issue_28689_new
Browse files Browse the repository at this point in the history
[Old PR was messed up] Document reproducability of Array.shuffle()
  • Loading branch information
mhilbrunner authored May 13, 2019
2 parents be3251b + d02ecd5 commit 02fa58f
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 02fa58f

Please sign in to comment.