Fixed hideout craft processing exiting before all crafts are processed

This commit is contained in:
Dev 2024-10-15 12:21:31 +01:00
parent 9a5232ef84
commit f647c8ebce

View File

@ -284,12 +284,14 @@ export class HideoutHelper {
continue; continue;
} }
// Water collector
if (prodId === HideoutHelper.waterCollector) { if (prodId === HideoutHelper.waterCollector) {
this.updateWaterCollectorProductionTimer(pmcData, prodId, hideoutProperties); this.updateWaterCollectorProductionTimer(pmcData, prodId, hideoutProperties);
continue; continue;
} }
// Bitcoin farm handling
if (prodId === HideoutHelper.bitcoinFarm) { if (prodId === HideoutHelper.bitcoinFarm) {
this.updateBitcoinFarm( this.updateBitcoinFarm(
pmcData, pmcData,
@ -297,14 +299,15 @@ export class HideoutHelper {
hideoutProperties.btcFarmCGs, hideoutProperties.btcFarmCGs,
hideoutProperties.isGeneratorOn, hideoutProperties.isGeneratorOn,
); );
continue; continue;
} }
// cultist circle has no recipe, needs special handling // Cultist circle has no recipe, needs special handling
if (craft.sptIsCultistCircle) { if (craft.sptIsCultistCircle) {
this.updateCultistCircleCraftProgress(pmcData, prodId); this.updateCultistCircleCraftProgress(pmcData, prodId);
return; continue;
} }
// Ensure recipe exists before using it in updateProductionProgress() // Ensure recipe exists before using it in updateProductionProgress()