mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
Fix for unintended backdoor/autolink interaction
Added check for backdoorFlag when calling scan-analyze-link
This commit is contained in:
parent
547324a813
commit
5a75581b38
@ -1993,7 +1993,7 @@ let Terminal = {
|
|||||||
(function() {
|
(function() {
|
||||||
var hostname = links[i].innerHTML.toString();
|
var hostname = links[i].innerHTML.toString();
|
||||||
links[i].onclick = function() {
|
links[i].onclick = function() {
|
||||||
if (Terminal.analyzeFlag || Terminal.hackFlag) {return;}
|
if (Terminal.analyzeFlag || Terminal.hackFlag || Terminal.backdoorFlag) {return;}
|
||||||
Terminal.connectToServer(hostname);
|
Terminal.connectToServer(hostname);
|
||||||
}
|
}
|
||||||
}());// Immediate invocation
|
}());// Immediate invocation
|
||||||
|
Loading…
Reference in New Issue
Block a user