From d44d71712f066518321cefed18e145141ea23818 Mon Sep 17 00:00:00 2001 From: borisflagell Date: Sun, 22 May 2022 06:40:32 +0200 Subject: [PATCH] Prettier --- src/NetscriptFunctions/Bladeburner.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/NetscriptFunctions/Bladeburner.ts b/src/NetscriptFunctions/Bladeburner.ts index d218755de..e96a4efbf 100644 --- a/src/NetscriptFunctions/Bladeburner.ts +++ b/src/NetscriptFunctions/Bladeburner.ts @@ -142,10 +142,9 @@ export function NetscriptBladeburner(player: IPlayer, workerScript: WorkerScript const bladeburner = player.bladeburner; if (bladeburner === null) throw new Error("Should not be called without Bladeburner"); try { - const timecomputed = Math.min( - bladeburner.actionTimeCurrent + bladeburner.actionTimeOverflow, - bladeburner.actionTimeToComplete, - ) * 1000 ; + const timecomputed = + Math.min(bladeburner.actionTimeCurrent + bladeburner.actionTimeOverflow, bladeburner.actionTimeToComplete) * + 1000; return timecomputed; } catch (e: any) { throw ctx.makeRuntimeErrorMsg(e);