mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
world daemon can now be backdoored
This commit is contained in:
parent
02a4e85353
commit
dae0448744
@ -563,7 +563,15 @@ let Terminal = {
|
||||
|
||||
finishBackdoor: function(cancelled = false) {
|
||||
if(!cancelled){
|
||||
let server = Player.getCurrentServer();
|
||||
const server = Player.getCurrentServer();
|
||||
if (SpecialServerIps[SpecialServerNames.WorldDaemon] &&
|
||||
SpecialServerIps[SpecialServerNames.WorldDaemon] == server.ip) {
|
||||
if (Player.bitNodeN == null) {
|
||||
Player.bitNodeN = 1;
|
||||
}
|
||||
hackWorldDaemon(Player.bitNodeN);
|
||||
return;
|
||||
}
|
||||
server.backdoorInstalled = true;
|
||||
postElement(<>Backdoor successful!</>);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user