mirror of
https://github.com/PhaseII-eAmusement-Network/PhaseWeb3-Vue.git
synced 2026-03-21 17:54:26 -05:00
close with comment does not make any fucking sense.
This commit is contained in:
parent
a6400969bd
commit
f5b9d57e8c
|
|
@ -287,7 +287,7 @@ export class VersionConstants {
|
|||
export function GetRandomMessage() {
|
||||
const greetings = Greetings; // Assuming Greetings is a promise
|
||||
|
||||
const key = Math.floor(Math.random() * greetings.length);
|
||||
const key = crypto.getRandomValues(new Uint32Array(1))[0] % greetings.length; // "How random do you want it?" Yes.
|
||||
const selected = greetings[key];
|
||||
|
||||
if (typeof selected.header !== "string") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user