NETSCRIPT: Add ramOverride as a RunOption (#441)

Allows overriding the static ram calculation. Dynamic ram limit still applies.
This commit is contained in:
David Walker
2023-03-22 07:09:12 -07:00
committed by GitHub
parent a03a441906
commit 2b54c6c9b9
8 changed files with 75 additions and 37 deletions
-3
View File
@@ -71,9 +71,6 @@ export class WorkerScript {
*/
pid: number;
/** Script's Static RAM usage. Equivalent to underlying script's RAM usage */
ramUsage = RamCostConstants.Base;
/** Reference to underlying RunningScript object */
scriptRef: RunningScript;