From facab1d264dc1f95a8985e4bbe38e6de4c90b284 Mon Sep 17 00:00:00 2001 From: phyzical Date: Thu, 28 Apr 2022 19:20:53 +0800 Subject: [PATCH] make bonustime for gang in miliseconds --- src/NetscriptFunctions/Gang.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetscriptFunctions/Gang.ts b/src/NetscriptFunctions/Gang.ts index de4e7ab87..14fd74d43 100644 --- a/src/NetscriptFunctions/Gang.ts +++ b/src/NetscriptFunctions/Gang.ts @@ -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; }, }; }