Fixes Corporation bribe uninentionally affect Bladeburners under certain circumstances. Also contains small lint fixes found by running npm run lint.

This commit is contained in:
vmesecher
2021-09-25 15:39:30 -07:00
parent 3289f76cd0
commit ce578206eb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ function NetscriptFunctions(workerScript: WorkerScript): NS {
};
// Utility function to get Hacknet Node object
const getHacknetNode = function (i: any, callingFn: string = ""): HacknetNode | HacknetServer {
const getHacknetNode = function (i: any, callingFn = ""): HacknetNode | HacknetServer {
if (isNaN(i)) {
throw makeRuntimeErrorMsg(callingFn, "Invalid index specified for Hacknet Node: " + i);
}