Menú artístico: mejorar entropía
This commit is contained in:
parent
3562c9b132
commit
2016a6bc8c
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ local adjetivos = {
|
|||
|
||||
local random_i = 1
|
||||
local function random(list)
|
||||
math.randomseed(os.time() + random_i)
|
||||
math.randomseed((''..os.time()):reverse() + random_i)
|
||||
random_i = random_i + 5
|
||||
return list[math.random(#list)]
|
||||
end
|
||||
|
|
Reference in a new issue