mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
do not randomseed twice
This commit is contained in:
parent
378b5b30c9
commit
86ca401e4e
1 changed files with 0 additions and 1 deletions
|
@ -33,7 +33,6 @@ local adjacents = {
|
|||
{ x = 0, y = 0, z = 1 },
|
||||
}
|
||||
|
||||
math.randomseed(os.time())
|
||||
local function shuffle_table(t)
|
||||
for i = #t, 1, -1 do
|
||||
local r = math.random(i)
|
||||
|
|
Loading…
Reference in a new issue