From 3f6b67749de2eb9cb5504df0fa6244af794da061 Mon Sep 17 00:00:00 2001 From: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Date: Sun, 23 Feb 2025 12:39:36 -0800 Subject: [PATCH] Make cultist circle completion state closer to live --- project/src/helpers/HideoutHelper.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/project/src/helpers/HideoutHelper.ts b/project/src/helpers/HideoutHelper.ts index aca94f4cc..85fc5d6a0 100644 --- a/project/src/helpers/HideoutHelper.ts +++ b/project/src/helpers/HideoutHelper.ts @@ -413,7 +413,7 @@ export class HideoutHelper { const production = pmcData.Hideout.Production[prodId]; // Check if we're already complete, skip - if (production.AvailableForFinish) { + if (production.AvailableForFinish && !production.inProgress) { return; } @@ -440,8 +440,9 @@ export class HideoutHelper { // Craft is complete, flas as such production.AvailableForFinish = true; - // Reset progress so its not over production time - production.Progress = production.ProductionTime; + // The client expects `Progress` to be 0, and `inProgress` to be false when a circle is complete + production.Progress = 0; + production.inProgress = false; } /**