Updated theme command documentation

This commit is contained in:
Daniel Xie
2017-06-16 22:32:58 -05:00
parent 8ab2415bb3
commit c5f3988183
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ function addWorkerScript(runningScriptObj, server) {
if (runningScriptObj.threads && !isNaN(runningScriptObj.threads)) {
threads = runningScriptObj.threads;
} else {
script.threads = 1;
runningScriptObj.threads = 1;
}
var ramUsage = runningScriptObj.scriptRef.ramUsage * threads * Math.pow(1.02, threads-1);
server.ramUsed += ramUsage;