hotfix backdooring the world daemon not resetting flags

This commit is contained in:
Olivier Gagnon 2021-05-06 11:12:04 -04:00
parent 08207ac79b
commit c7e34d4a56
4 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -324,8 +324,6 @@ function createBitNodeYesNoEventListener(newBitNode, destroyedBitNode, flume=fal
document.getElementById("terminal-input-td").innerHTML = '$ <input type="text" id="terminal-input-text-box" class="terminal-input" tabindex="1"/>';
$('input[class=terminal-input]').prop('disabled', false);
Terminal.hackFlag = false;
prestigeSourceFile();
yesNoBoxClose();
});

@ -535,6 +535,7 @@ let Terminal = {
Player.bitNodeN = 1;
}
hackWorldDaemon(Player.bitNodeN);
Terminal.hackFlag = false;
return;
}
server.backdoorInstalled = true;
@ -570,6 +571,7 @@ let Terminal = {
Player.bitNodeN = 1;
}
hackWorldDaemon(Player.bitNodeN);
Terminal.backdoorFlag = false;
return;
}
server.backdoorInstalled = true;