mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-24 21:21:56 +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