From f8c4d07cc2ca46d783d5fb8b293d4c7d4b4642d4 Mon Sep 17 00:00:00 2001 From: zeddrak <57454318+zeddrak@users.noreply.github.com> Date: Fri, 28 Jan 2022 15:25:03 -0800 Subject: [PATCH] quick fix forgot to remove a line used for notes --- src/Server/ServerHelpers.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Server/ServerHelpers.ts b/src/Server/ServerHelpers.ts index 8cc159a54..69d54fcb9 100644 --- a/src/Server/ServerHelpers.ts +++ b/src/Server/ServerHelpers.ts @@ -146,7 +146,6 @@ export function numCycleForGrowthCorrected(server: Server, targetMoney: number, * @param p - Reference to Player object * @returns Number of "growth cycles" needed to reverse the described hack */ -server: Server, targetMoney: number, startMoney: number, p: IPlayer, cores = 1): number export function numCycleForGrowthByHackAmt(server, hackAmt: number, prehackMoney: number, p: IPlayer, cores = 1) { if (prehackMoney > server.moneyMax) { preHackAmt = server.moneyMax; } const posthackAmt = Math.floor(prehackMoney * Math.min(1, Math.max(0, (1 - hackAmt))));