This commit is contained in:
danielyxie
2018-05-06 16:34:07 -05:00
5 changed files with 33 additions and 1 deletions
+4
View File
@@ -2002,6 +2002,10 @@ function NetscriptFunctions(workerScript) {
}
return suc;
},
getScriptName : function() {
if (workerScript.checkingRam) {return 0;}
return workerScript.name;
},
getScriptRam : function (scriptname, ip) {
if (workerScript.checkingRam) {
if (workerScript.loadedFns.getScriptRam) {