lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> math.randomseed(os.time())

BTW, in 5.4, you don't need to do this anymore: the RNG is seeded
randomly when the math library is loaded.