Remove stopFlag checks made redundant by the netscriptDelay change

This commit is contained in:
Heikki Aitakangas
2022-01-08 22:04:01 +02:00
parent 59da79a427
commit c6ff982b1d
4 changed files with 0 additions and 22 deletions
-3
View File
@@ -611,9 +611,6 @@ export function NetscriptSingularity(
);
return netscriptDelay(installTime, workerScript).then(function () {
if (workerScript.env.stopFlag) {
return Promise.reject(workerScript);
}
workerScript.log("installBackdoor", () => `Successfully installed backdoor on '${server.hostname}'`);
server.backdoorInstalled = true;