Menú artístico: mejorar entropía
All checks were successful
continuous-integration/woodpecker the build was successful
All checks were successful
continuous-integration/woodpecker the build was successful
This commit is contained in:
parent
1ceaa80ba5
commit
767de5e58c
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ local adjetivos = {
|
||||||
|
|
||||||
local random_i = 1
|
local random_i = 1
|
||||||
local function random(list)
|
local function random(list)
|
||||||
math.randomseed(os.time() + random_i)
|
math.randomseed((''..os.time()):reverse() + random_i)
|
||||||
random_i = random_i + 5
|
random_i = random_i + 5
|
||||||
return list[math.random(#list)]
|
return list[math.random(#list)]
|
||||||
end
|
end
|
||||||
|
|
Reference in a new issue