mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-01 05:17:04 +02:00
BLADEBURNER: Move bladeburner team losses to Casualties (#1654)
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user