Fixed hideout craft processing exiting before all crafts are processed
This commit is contained in:
parent
9a5232ef84
commit
f647c8ebce
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user