X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=utils%2Falea.js;h=077970df5df333a432e65ae189cf18b423d729e4;hb=33b427488bb6ee5c505c3a024bccedbef763f80e;hp=751d3474b42a5fd6bebaefddb0fbf49d8a719e98;hpb=7bd7cba41f9c2222a29c62ddf8d83fbb46646a1d;p=xogo.git diff --git a/utils/alea.js b/utils/alea.js index 751d347..077970d 100644 --- a/utils/alea.js +++ b/utils/alea.js @@ -22,7 +22,7 @@ export const Random = { min = 0; } if (!Random.rand) - Random.setSeed(Math.floor(Math.random() * 1984)); + Random.setSeed(Math.floor(Math.random() * 19840)); return Math.floor(Random.rand() * (max - min)) + min; },