mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
DEVMENU: Initialize dark net data when setting SF15 level (#2632)
This commit is contained in:
@@ -14,6 +14,7 @@ import { validBitNodes } from "../../BitNode/Constants";
|
||||
import { DeleteServer, GetAllServers } from "../../Server/AllServers";
|
||||
import { HacknetServer } from "../../Hacknet/HacknetServer";
|
||||
import { AutoExpandAccordion } from "../../ui/AutoExpand/AutoExpandAccordion";
|
||||
import { getDarkscapeNavigator } from "../../DarkNet/effects/effects";
|
||||
|
||||
const useStyles = makeStyles()({
|
||||
group: {
|
||||
@@ -46,6 +47,9 @@ export function SourceFilesDev({ parentRerender }: { parentRerender: () => void
|
||||
Player.hacknetNodes = Player.hacknetNodes.filter((node) => typeof node === "string");
|
||||
}
|
||||
}
|
||||
if (sfN === 15 && sfLvl !== 0) {
|
||||
getDarkscapeNavigator();
|
||||
}
|
||||
if (sfLvl === 0) {
|
||||
Player.sourceFiles.delete(sfN);
|
||||
Player.bitNodeOptions.sourceFileOverrides.delete(sfN);
|
||||
|
||||
Reference in New Issue
Block a user