mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
Fix sing function for bn14 (#1168)
This commit is contained in:
parent
edf8e24046
commit
6aaeb6b59e
@ -1105,7 +1105,7 @@ export function NetscriptSingularity(): InternalAPI<ISingularity> {
|
||||
destroyW0r1dD43m0n: (ctx) => (_nextBN, _cbScript) => {
|
||||
helpers.checkSingularityAccess(ctx);
|
||||
const nextBN = helpers.number(ctx, "nextBN", _nextBN);
|
||||
if (nextBN > 13 || nextBN < 1 || !Number.isInteger(nextBN)) {
|
||||
if (nextBN > 14 || nextBN < 1 || !Number.isInteger(nextBN)) {
|
||||
throw new Error(`Invalid bitnode specified: ${_nextBN}`);
|
||||
}
|
||||
const cbScript = _cbScript
|
||||
|
Loading…
Reference in New Issue
Block a user