parent
1aed455e7c
commit
5f5ac8ce16
1 changed files with 1 additions and 1 deletions
|
|
@ -642,7 +642,7 @@ when not defined(nimscript):
|
||||||
## * `randomize proc<#randomize,int64>`_ that accepts a seed
|
## * `randomize proc<#randomize,int64>`_ that accepts a seed
|
||||||
## * `initRand proc<#initRand,int64>`_
|
## * `initRand proc<#initRand,int64>`_
|
||||||
when defined(JS):
|
when defined(JS):
|
||||||
let time = int64(times.epochTime() * 1000)
|
let time = int64(times.epochTime() * 1000) and 0x7fff_ffff
|
||||||
randomize(time)
|
randomize(time)
|
||||||
else:
|
else:
|
||||||
let now = times.getTime()
|
let now = times.getTime()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue