randomize determined by day alone, not order of execution as well
This commit is contained in:
parent
8441a434d1
commit
c6b82865d4
@ -9,9 +9,9 @@ function mulberry32(a) {
|
|||||||
return ((t ^ t >>> 14) >>> 0) / 4294967296;
|
return ((t ^ t >>> 14) >>> 0) / 4294967296;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let rand = mulberry32(seed)
|
|
||||||
|
|
||||||
export function rand_array(array){
|
export function rand_array(array){
|
||||||
|
let rand = mulberry32(seed)
|
||||||
array.sort((a,b) => 0.5 - rand())
|
array.sort((a,b) => 0.5 - rand())
|
||||||
return array
|
return array
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user