mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
MISC: Revert default HGW threads from 1 to number of script threads (#978)
This commit is contained in:
parent
473217ef31
commit
a6436ca4b3
@ -296,7 +296,7 @@ export function makeRuntimeErrorMsg(ctx: NetscriptContext, msg: string, type = "
|
||||
|
||||
function validateHGWOptions(ctx: NetscriptContext, opts: unknown): CompleteHGWOptions {
|
||||
const result: CompleteHGWOptions = {
|
||||
threads: 1 as PositiveInteger,
|
||||
threads: ctx.workerScript.scriptRef.threads,
|
||||
stock: false,
|
||||
additionalMsec: 0,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user