mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Merge pull request #2299 from SagePtr/patch-1
Fix some achievements not triggered if hacked with backdoor command
This commit is contained in:
commit
5acd048bd8
@ -285,6 +285,7 @@ export class Terminal implements ITerminal {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!(server instanceof Server)) throw new Error("server should be normal server");
|
if (!(server instanceof Server)) throw new Error("server should be normal server");
|
||||||
|
server.backdoorInstalled = true;
|
||||||
if (SpecialServers.WorldDaemon === server.hostname) {
|
if (SpecialServers.WorldDaemon === server.hostname) {
|
||||||
if (player.bitNodeN == null) {
|
if (player.bitNodeN == null) {
|
||||||
player.bitNodeN = 1;
|
player.bitNodeN = 1;
|
||||||
@ -292,7 +293,6 @@ export class Terminal implements ITerminal {
|
|||||||
router.toBitVerse(false, false);
|
router.toBitVerse(false, false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
server.backdoorInstalled = true;
|
|
||||||
this.print("Backdoor successful!");
|
this.print("Backdoor successful!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user