mirror of
https://github.com/PhaseII-eAmusement-Network/PhaseWeb3-Vue.git
synced 2026-09-11 18:55:18 -05:00
close with comment does not make any fucking sense.
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user