summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2019-05-13 02:30:20 +0200
committerGitHub <noreply@github.com>2019-05-13 02:30:20 +0200
commit02fa58f4a7752ace7af29364d0ff1217399e88ea (patch)
tree75847d6d400b8f1a64f5c14e82579ce2e40adbe8
parentbe3251b5c0bcd63cb3cb610f15b0e62e2c813aca (diff)
parentd02ecd5a189a541395a586a1d9086fcf4d7a0acb (diff)
Merge pull request #28832 from hbina/issue_28689_new
[Old PR was messed up] Document reproducability of Array.shuffle()
-rw-r--r--doc/classes/Array.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml
index ecafc3514c..75194fbf76 100644
--- a/doc/classes/Array.xml
+++ b/doc/classes/Array.xml
@@ -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">