mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 08:13:50 +02:00
MISC: Revert default HGW threads from 1 to number of script threads (#978)
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user