mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-03 06:17:04 +02:00
finish convert to hostname
This commit is contained in:
+5
-11
@@ -20,7 +20,7 @@ import { LiteratureNames } from "./Literature/data/LiteratureNames";
|
||||
import { GetServer, AddToAllServers, initForeignServers, prestigeAllServers } from "./Server/AllServers";
|
||||
import { prestigeHomeComputer } from "./Server/ServerHelpers";
|
||||
import { SourceFileFlags, updateSourceFileFlags } from "./SourceFile/SourceFileFlags";
|
||||
import { prestigeSpecialServerIps, SpecialServerNames } from "./Server/SpecialServerIps";
|
||||
import { SpecialServers } from "./Server/data/SpecialServers";
|
||||
import { deleteStockMarket, initStockMarket, initSymbolToStockMap } from "./StockMarket/StockMarket";
|
||||
import { Terminal } from "./Terminal";
|
||||
|
||||
@@ -46,9 +46,6 @@ function prestigeAugmentation(): void {
|
||||
// Delete all servers except home computer
|
||||
prestigeAllServers();
|
||||
|
||||
// Delete Special Server IPs
|
||||
prestigeSpecialServerIps(); // Must be done before initForeignServers()
|
||||
|
||||
// Reset home computer (only the programs) and add to AllServers
|
||||
AddToAllServers(homeComp);
|
||||
prestigeHomeComputer(homeComp);
|
||||
@@ -132,11 +129,11 @@ function prestigeAugmentation(): void {
|
||||
|
||||
// Red Pill
|
||||
if (augmentationExists(AugmentationNames.TheRedPill) && Augmentations[AugmentationNames.TheRedPill].owned) {
|
||||
const WorldDaemon = GetServer(SpecialServerNames.WorldDaemon);
|
||||
const DaedalusServer = GetServer(SpecialServerNames.DaedalusServer);
|
||||
const WorldDaemon = GetServer(SpecialServers.WorldDaemon);
|
||||
const DaedalusServer = GetServer(SpecialServers.DaedalusServer);
|
||||
if (WorldDaemon && DaedalusServer) {
|
||||
WorldDaemon.serversOnNetwork.push(DaedalusServer.ip);
|
||||
DaedalusServer.serversOnNetwork.push(WorldDaemon.ip);
|
||||
WorldDaemon.serversOnNetwork.push(DaedalusServer.hostname);
|
||||
DaedalusServer.serversOnNetwork.push(WorldDaemon.hostname);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,9 +153,6 @@ function prestigeSourceFile(flume: boolean): void {
|
||||
// Delete all servers except home computer
|
||||
prestigeAllServers(); // Must be done before initForeignServers()
|
||||
|
||||
// Delete Special Server IPs
|
||||
prestigeSpecialServerIps();
|
||||
|
||||
// Reset home computer (only the programs) and add to AllServers
|
||||
AddToAllServers(homeComp);
|
||||
prestigeHomeComputer(homeComp);
|
||||
|
||||
Reference in New Issue
Block a user