MISC: Do not round return value of getBonusTime APIs (#1961)

This commit is contained in:
catloversg
2025-02-16 16:42:11 +07:00
committed by GitHub
parent 23bc4e8804
commit 13990fbe4c
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ export function NetscriptGang(): InternalAPI<IGang> {
},
getBonusTime: (ctx) => () => {
const gang = getGang(ctx);
return Math.round(gang.storedCycles / 5) * 1000;
return gang.storedCycles * 200;
},
nextUpdate: (ctx) => () => {
getGang(ctx);