mirror of
https://github.com/minetest/minetest_docs.git
synced 2024-10-05 17:33:08 +02:00
table.shuffle: Mark optional arguments properly
This commit is contained in:
parent
69f3fc9c67
commit
02782c6087
@ -122,7 +122,7 @@ Adds all the list entries of `other` to `t` (list part concatenation).
|
||||
|
||||
Returns a new table with the keys of `t` as values and the corresponding values as keys. If a value occurs multiple times in `t`, any of the keys might be the value in the resulting table.
|
||||
|
||||
==== `table.shuffle(t, from, to, random)`
|
||||
==== `table.shuffle(t, [from], [to], [random])`
|
||||
|
||||
Performs a Fisher-Yates shuffling on the specified range of the list part of `t`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user