optimisation: only update the current profiles hideout data

This commit is contained in:
Dev 2024-01-30 12:16:58 +00:00
parent d0af930dc9
commit 491a5204bb

View File

@ -464,7 +464,9 @@ export class HideoutController
) )
{ {
const response = this.removeResourceFromArea(sessionID, pmcData, request, output, hideoutArea); 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; return response;
} }