make bonustime for gang in miliseconds

This commit is contained in:
phyzical 2022-04-28 19:20:53 +08:00
parent 9c805dabb8
commit facab1d264

@ -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;
},
};
}