From 05c4bb194679ef59a64434b052a028e57442bd5c Mon Sep 17 00:00:00 2001 From: CWX Date: Mon, 26 Aug 2024 20:47:09 +0100 Subject: [PATCH] Update comments, refactor check --- 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 f9e7c1cd..a79e5f73 100644 --- a/project/src/controllers/HideoutController.ts +++ b/project/src/controllers/HideoutController.ts @@ -292,9 +292,9 @@ export class HideoutController { this.addMissingPresetStandItemsToProfile(sessionID, hideoutStage, pmcData, dbHideoutArea, output); } - // Dont inform client when upgraded area is hall of fame, BSG doesn't inform client this specifc upgrade has occurred + // Dont inform client when upgraded area is hall of fame or equipment stand, BSG doesn't inform client this specifc upgrade has occurred // will break client if sent - if (![HideoutAreas.PLACE_OF_FAME].includes(dbHideoutArea.type) && ![HideoutAreas.EQUIPMENT_PRESETS_STAND].includes(dbHideoutArea.type)) { + if (![HideoutAreas.PLACE_OF_FAME, HideoutAreas.EQUIPMENT_PRESETS_STAND].includes(dbHideoutArea.type)) { this.addContainerUpgradeToClientOutput(sessionID, dbHideoutArea.type, dbHideoutArea, hideoutStage, output); }