From eee46aad30ef38d7111dfdcfaee36aa3b6dad925 Mon Sep 17 00:00:00 2001 From: TetrisGG Date: Sun, 25 Aug 2024 13:30:10 +0000 Subject: [PATCH] Fix CircleOfCultists not finishing (!402) Production resp should be null according to network dumps. Also instead of delete nulled out the recipe, so that it properly overwrites the id. Co-authored-by: TetrisGG Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/402 Co-authored-by: TetrisGG Co-committed-by: TetrisGG --- project/src/controllers/HideoutController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/controllers/HideoutController.ts b/project/src/controllers/HideoutController.ts index f3af832e..6b1de9fe 100644 --- a/project/src/controllers/HideoutController.ts +++ b/project/src/controllers/HideoutController.ts @@ -1444,8 +1444,8 @@ export class HideoutController { ): IItemEventRouterResponse { const output = this.eventOutputHolder.getOutput(sessionId); - delete pmcData.Hideout.Production[request.recipeId]; - + pmcData.Hideout.Production[request.recipeId] = null; + output.profileChanges[sessionId].production = null; return output; }