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

View File

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