mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-24 02:03:01 +02:00
added new exploit
This commit is contained in:
+5
-1
@@ -4,7 +4,7 @@ import { IEngine } from "./IEngine";
|
||||
import { IRouter } from "./ui/Router";
|
||||
import { AugmentationNames } from "./Augmentation/data/AugmentationNames";
|
||||
|
||||
import React from "react";
|
||||
import React, { useEffect } from "react";
|
||||
|
||||
import { General } from "./DevMenu/ui/General";
|
||||
import { Stats } from "./DevMenu/ui/Stats";
|
||||
@@ -23,6 +23,7 @@ import { Sleeves } from "./DevMenu/ui/Sleeves";
|
||||
import { Stanek } from "./DevMenu/ui/Stanek";
|
||||
import { TimeSkip } from "./DevMenu/ui/TimeSkip";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import { Exploit } from "./Exploits/Exploit";
|
||||
|
||||
interface IProps {
|
||||
player: IPlayer;
|
||||
@@ -31,6 +32,9 @@ interface IProps {
|
||||
}
|
||||
|
||||
export function DevMenuRoot(props: IProps): React.ReactElement {
|
||||
useEffect(() => {
|
||||
props.player.giveExploit(Exploit.YoureNotMeantToAccessThis);
|
||||
}, []);
|
||||
return (
|
||||
<>
|
||||
<Typography>Development Menu - Only meant to be used for testing/debugging</Typography>
|
||||
|
||||
Reference in New Issue
Block a user