From 5d2f2d4373a255c91a7d99b5c51ac81b11a7fe05 Mon Sep 17 00:00:00 2001 From: Thomas B <79112289+waffleattack@users.noreply.github.com> Date: Tue, 22 Mar 2022 08:38:28 -0400 Subject: [PATCH] Update StaneksGift.ts --- src/CotMG/StaneksGift.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CotMG/StaneksGift.ts b/src/CotMG/StaneksGift.ts index 2cb089a74..acca05d6d 100644 --- a/src/CotMG/StaneksGift.ts +++ b/src/CotMG/StaneksGift.ts @@ -19,14 +19,14 @@ export class StaneksGift implements IStaneksGift { fragments: ActiveFragment[] = []; baseSize(): number { - return Math.min(StanekConstants.BaseSize + BitNodeMultipliers.StaneksGiftExtraSize + Player.sourceFileLvl(13), StanekConstants.MaxSize); + return StanekConstants.BaseSize + BitNodeMultipliers.StaneksGiftExtraSize + Player.sourceFileLvl(13) } width(): number { - return Math.floor(this.baseSize() / 2 + 1); + return Math.min(Math.floor(this.baseSize() / 2 + 1),StanekConstants.MaxSize); } height(): number { - return Math.floor(this.baseSize() / 2 + 0.6); + return Math.min(Math.floor(this.baseSize() / 2 + 0.6),StanekConstants.MaxSize); } charge(player: IPlayer, af: ActiveFragment, threads: number): void {