From dbc6bd9a0b7cf256c8d3bbad32227bc73e8357b1 Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 29 Jan 2024 10:25:14 +0000 Subject: [PATCH] Improve `reorderHideoutAreasWithResouceInputs()` debug messaging --- project/src/services/ProfileFixerService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/services/ProfileFixerService.ts b/project/src/services/ProfileFixerService.ts index b699a0a4..874f455b 100644 --- a/project/src/services/ProfileFixerService.ts +++ b/project/src/services/ProfileFixerService.ts @@ -765,10 +765,10 @@ export class ProfileFixerService for (const areaId of areasToCheck) { - const area = pmcProfile.Hideout.Areas.find((x) => x.type === areaId); + const area = pmcProfile.Hideout.Areas.find((area) => area.type === areaId); if (!area) { - this.logger.debug(`unable to sort ${areaId} slots, no area found`); + this.logger.debug(`unable to sort: ${area.type} (${areaId}) slots, no area found`); continue; }