mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
fix some weird eval
This commit is contained in:
parent
1e0e9f7bd7
commit
4fb1dbf2e3
@ -44,7 +44,7 @@ export function resolveNetscriptRequestedThreads(
|
||||
`Invalid thread count passed to ${functionName}: ${requestedThreads}. Threads must be a positive number.`,
|
||||
);
|
||||
}
|
||||
if (requestedThreads > threads) {
|
||||
if (requestedThreadsAsInt > threads) {
|
||||
throw makeRuntimeRejectMsg(
|
||||
workerScript,
|
||||
`Too many threads requested by ${functionName}. Requested: ${requestedThreads}. Has: ${threads}.`,
|
||||
|
Loading…
Reference in New Issue
Block a user