From 079651045defe6ab2f7f1f1d343ef33534eeb7db Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 29 Jan 2024 11:10:26 +0000 Subject: [PATCH] Remove return type from `updateWaterFilters()` --- project/src/helpers/HideoutHelper.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/project/src/helpers/HideoutHelper.ts b/project/src/helpers/HideoutHelper.ts index ed6b87cd..6c547875 100644 --- a/project/src/helpers/HideoutHelper.ts +++ b/project/src/helpers/HideoutHelper.ts @@ -498,7 +498,7 @@ export class HideoutHelper const prod = pmcData.Hideout.Production[HideoutHelper.waterCollector]; if (prod && this.isProduction(prod)) { - area = this.updateWaterFilters(area, prod, isGeneratorOn, pmcData); + this.updateWaterFilters(area, prod, isGeneratorOn, pmcData); } else { @@ -521,14 +521,13 @@ export class HideoutHelper * @param production production object * @param isGeneratorOn is generator enabled * @param pmcData Player profile - * @returns Updated HideoutArea object */ protected updateWaterFilters( waterFilterArea: HideoutArea, production: Production, isGeneratorOn: boolean, pmcData: IPmcData, - ): HideoutArea + ): void { let filterDrainRate = this.getWaterFilterDrainRate(pmcData); const productionTime = this.getTotalProductionTimeSeconds(HideoutHelper.waterCollector); @@ -597,8 +596,6 @@ export class HideoutHelper } } } - - return waterFilterArea; } /**