Fixed bugs with new HelperFunctions

This commit is contained in:
danielyxie
2018-07-10 00:11:18 -05:00
parent 79a489d7a9
commit dcd6292ed2
9 changed files with 112847 additions and 101398 deletions
+3 -1
View File
@@ -151,7 +151,9 @@ function NetscriptFunctions(workerScript) {
throw makeRuntimeRejectMsg(workerScript,
"Dynamic RAM usage calculated to be greater than initial RAM usage on fn: " + fnName +
". This is probably because you somehow circumvented the static RAM " +
"calculation.<br><br>Please don't do that :(");
"calculation.<br><br>Please don't do that :(<br><br>" +
"Dynamic RAM Usage: " + workerScript.dynamicRamUsage + "<br>" +
"Static RAM Usage: " + workerScript.ramUsage);
}
};