more work on bn13

This commit is contained in:
Olivier Gagnon
2021-11-13 22:44:17 -05:00
990 changed files with 58453 additions and 9515 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export function NetscriptStanek(
return Promise.reject(workerScript);
}
const ram = workerScript.scriptRef.ramUsage * workerScript.scriptRef.threads;
const charge = staneksGift.charge(rootX, rootY, ram);
const charge = staneksGift.charge(rootX, rootY, workerScript.scriptRef.threads);
workerScript.log("stanek.charge", `Charged fragment for ${charge} charge.`);
return Promise.resolve(charge);
});