From 42327416135122580c1f57e86370de767e55b2c7 Mon Sep 17 00:00:00 2001 From: phyzical Date: Thu, 31 Mar 2022 22:40:53 +0800 Subject: [PATCH] change back general augment price adjustment --- src/Augmentation/AugmentationHelpers.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Augmentation/AugmentationHelpers.tsx b/src/Augmentation/AugmentationHelpers.tsx index c9f3059c8..d1ca96fe5 100644 --- a/src/Augmentation/AugmentationHelpers.tsx +++ b/src/Augmentation/AugmentationHelpers.tsx @@ -103,12 +103,6 @@ function updateInfiltratorCosts(infiltratorAugmentation: Augmentation): void { } } -function updateGeneralAugmentationPrice(augmentation: Augmentation): void { - for (let i = 0; i < Player.queuedAugmentations.length; ++i) { - augmentation.baseCost = augmentation.startingCost * getGenericAugmentationPriceMultiplier(); - } -} - export function updateAugmentationCosts(): void { for (const name of Object.keys(Augmentations)) { if (Augmentations.hasOwnProperty(name)) { @@ -118,7 +112,7 @@ export function updateAugmentationCosts(): void { } else if (augmentationToUpdate.factions.includes(FactionNames.Infiltrators)) { updateInfiltratorCosts(augmentationToUpdate); } else { - updateGeneralAugmentationPrice(augmentationToUpdate); + augmentationToUpdate.baseCost = augmentationToUpdate.startingCost * getGenericAugmentationPriceMultiplier(); } } }