mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Improved seed for cointoss
This commit is contained in:
parent
d8ef69a6da
commit
4f5d0befca
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ local commands = wolfa_requireModule("commands.commands")
|
|||
local players = wolfa_requireModule("players.players")
|
||||
|
||||
function commandCoinToss(clientId, command)
|
||||
math.randomseed(os.time())
|
||||
math.randomseed(et.trap_Milliseconds())
|
||||
|
||||
local number = math.random(0, 99)
|
||||
local result
|
||||
|
|
Loading…
Reference in a new issue