BUGFIX: Fix additionalMsec overflow issue (#941)

This commit is contained in:
David Walker
2023-12-07 17:34:49 -08:00
committed by GitHub
parent 21c7f56d23
commit 61ffed9b3a
4 changed files with 176 additions and 179 deletions
+1 -1
View File
@@ -530,7 +530,7 @@ export function NetscriptSingularity(): InternalAPI<ISingularity> {
manualHack: (ctx) => () => {
helpers.checkSingularityAccess(ctx);
const server = Player.getCurrentServer();
return helpers.hack(ctx, server.hostname, true);
return helpers.hack(ctx, server.hostname, true, null);
},
installBackdoor: (ctx) => async (): Promise<void> => {
helpers.checkSingularityAccess(ctx);