Update NetscriptFunctions.js

This commit is contained in:
havocmayhem 2018-12-30 21:07:24 +05:30 committed by GitHub
parent f8cccd56ac
commit 984a2aa5d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3584,7 +3584,7 @@ function NetscriptFunctions(workerScript) {
if (!augmentationExists(name)) {
workerScript.scriptRef.log("ERROR: getAugmentationPrereq() failed. Invalid Augmentation name passed in (note: this is case-sensitive): " + name);
return [-1, -1];
return [];
}
var aug = Augmentations[name];