Merge pull request #3578 from phyzical/bugfix/3527

BUGFIX: make bonustime for gang in miliseconds
This commit is contained in:
hydroflame 2022-05-04 11:56:15 -04:00 committed by GitHub
commit 70ae38360f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -342,7 +342,7 @@ export function NetscriptGang(player: IPlayer, workerScript: WorkerScript, helpe
checkGangApiAccess("getBonusTime");
const gang = player.gang;
if (gang === null) throw new Error("Should not be called without Gang");
return Math.round(gang.storedCycles / 5);
return Math.round(gang.storedCycles / 5) * 1000;
},
};
}