1
0
Fork 0

do not randomseed twice

newmobs-master
cora 2022-02-17 11:36:58 +01:00
parent 56ec2b8066
commit b35959e005
1 changed files with 0 additions and 1 deletions

View File

@ -33,7 +33,6 @@ local adjacents = {
{ x = 0, y = 0, z = 1 }, { x = 0, y = 0, z = 1 },
} }
math.randomseed(os.time())
local function shuffle_table(t) local function shuffle_table(t)
for i = #t, 1, -1 do for i = #t, 1, -1 do
local r = math.random(i) local r = math.random(i)