BLADEBURNER: Move bladeburner team losses to Casualties (#1654)

This commit is contained in:
Denis Čahuk
2024-09-24 02:03:01 +02:00
committed by GitHub
parent cf2d9b8335
commit b86044bcc1
8 changed files with 265 additions and 52 deletions
+2 -1
View File
@@ -12,6 +12,7 @@ import { KeyHandler } from "./KeyHandler";
interface Difficulty {
[key: string]: number;
timer: number;
size: number;
}
@@ -106,7 +107,7 @@ export function BribeGame(props: IMinigameProps): React.ReactElement {
);
}
function shuffleArray(array: string[]): void {
export function shuffleArray(array: unknown[]): void {
for (let i = array.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
const temp = array[i];