From f647c8ebce01e7aa72dc3243655984fb7f6dbd5b Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 15 Oct 2024 12:21:31 +0100 Subject: [PATCH] Fixed hideout craft processing exiting before all crafts are processed --- project/src/helpers/HideoutHelper.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/project/src/helpers/HideoutHelper.ts b/project/src/helpers/HideoutHelper.ts index bdf5eb30..d9580f9d 100644 --- a/project/src/helpers/HideoutHelper.ts +++ b/project/src/helpers/HideoutHelper.ts @@ -284,12 +284,14 @@ export class HideoutHelper { continue; } + // Water collector if (prodId === HideoutHelper.waterCollector) { this.updateWaterCollectorProductionTimer(pmcData, prodId, hideoutProperties); continue; } + // Bitcoin farm handling if (prodId === HideoutHelper.bitcoinFarm) { this.updateBitcoinFarm( pmcData, @@ -297,14 +299,15 @@ export class HideoutHelper { hideoutProperties.btcFarmCGs, hideoutProperties.isGeneratorOn, ); + continue; } - // cultist circle has no recipe, needs special handling + // Cultist circle has no recipe, needs special handling if (craft.sptIsCultistCircle) { this.updateCultistCircleCraftProgress(pmcData, prodId); - return; + continue; } // Ensure recipe exists before using it in updateProductionProgress()