world daemon can now be backdoored

This commit is contained in:
Olivier Gagnon 2021-05-03 19:00:01 -04:00
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!</>);
}