From 0839f34b9b65751dfc918c56067cb69fcc1efef0 Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 21 Aug 2024 13:05:59 +0100 Subject: [PATCH] Updated `addContainerImprovementToProfile` to better handle cultist circle --- 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 5354e8ef..a3a07d76 100644 --- a/project/src/controllers/HideoutController.ts +++ b/project/src/controllers/HideoutController.ts @@ -281,8 +281,8 @@ export class HideoutController { // Add/upgrade stash item in player inventory this.addUpdateInventoryItemToProfile(pmcData, dbHideoutArea, hideoutStage); - // Dont inform client when upgraded area is hall of fame, BSG doesnt inform client upgrade has occurred, will break client if data is sent - if (dbHideoutArea.type !== HideoutAreas.PLACE_OF_FAME) { + // Dont inform client when upgraded area is hall of fame/cult circle, BSG doesn't inform client upgrade has occurred, will break client if data is sent + if (![HideoutAreas.PLACE_OF_FAME, HideoutAreas.CIRCLE_OF_CULTISTS].includes(dbHideoutArea.type)) { // Inform client of changes this.addContainerUpgradeToClientOutput(output, sessionID, dbHideoutArea.type, dbHideoutArea, hideoutStage); }