mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 03:00:56 +02:00
Merge branch 'dev' into issues/2308
This commit is contained in:
@@ -7,6 +7,7 @@ import { use } from "../../ui/Context";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import Button from "@mui/material/Button";
|
||||
import { KEY } from "../../utils/helpers/keyCodes";
|
||||
import { FactionNames } from "../data/FactionNames";
|
||||
|
||||
interface IProps {
|
||||
open: boolean;
|
||||
@@ -28,7 +29,7 @@ export function CreateGangModal(props: IProps): React.ReactElement {
|
||||
"is not as important.";
|
||||
|
||||
function isHacking(): boolean {
|
||||
return ["NiteSec", "The Black Hand"].includes(props.facName);
|
||||
return [FactionNames.NiteSec as string, FactionNames.TheBlackHand as string].includes(props.facName);
|
||||
}
|
||||
|
||||
function createGang(): void {
|
||||
|
||||
Reference in New Issue
Block a user