mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
fix sing purchaseTor
This commit is contained in:
parent
fd7593f13d
commit
1d1099cd9e
@ -487,16 +487,8 @@ export function NetscriptSingularity(player: IPlayer, workerScript: WorkerScript
|
|||||||
}
|
}
|
||||||
player.loseMoney(CONSTANTS.TorRouterCost, "other");
|
player.loseMoney(CONSTANTS.TorRouterCost, "other");
|
||||||
|
|
||||||
const darkweb = safetlyCreateUniqueServer({
|
const darkweb = GetServer(SpecialServers.DarkWeb);
|
||||||
ip: createUniqueRandomIp(),
|
if (!darkweb) throw _ctx.makeRuntimeErrorMsg("DarkWeb was not a server but should have been");
|
||||||
hostname: "darkweb",
|
|
||||||
organizationName: "",
|
|
||||||
isConnectedTo: false,
|
|
||||||
adminRights: false,
|
|
||||||
purchasedByPlayer: false,
|
|
||||||
maxRam: 1,
|
|
||||||
});
|
|
||||||
AddToAllServers(darkweb);
|
|
||||||
|
|
||||||
player.getHomeComputer().serversOnNetwork.push(darkweb.hostname);
|
player.getHomeComputer().serversOnNetwork.push(darkweb.hostname);
|
||||||
darkweb.serversOnNetwork.push(player.getHomeComputer().hostname);
|
darkweb.serversOnNetwork.push(player.getHomeComputer().hostname);
|
||||||
|
Loading…
Reference in New Issue
Block a user