From 491a5204bbc920ff0864dda0af63a6fb460daf55 Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 30 Jan 2024 12:16:58 +0000 Subject: [PATCH] optimisation: only update the current profiles hideout data --- project/src/controllers/HideoutController.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project/src/controllers/HideoutController.ts b/project/src/controllers/HideoutController.ts index 4c23b17b..8cfdd873 100644 --- a/project/src/controllers/HideoutController.ts +++ b/project/src/controllers/HideoutController.ts @@ -464,7 +464,9 @@ export class HideoutController ) { const response = this.removeResourceFromArea(sessionID, pmcData, request, output, hideoutArea); - this.update(); + + // Force a refresh of productions/hideout areas with resources + this.hideoutHelper.updatePlayerHideout(sessionID); return response; }