From 330b1ebf2840318d718589ceb68a85e618a7827d Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 29 Jan 2024 11:12:57 +0000 Subject: [PATCH] declare `repeatableQuests` as const not let inside `removeOrphanedQuests()` --- project/src/services/ProfileFixerService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/services/ProfileFixerService.ts b/project/src/services/ProfileFixerService.ts index 6e58f158..f21a2b54 100644 --- a/project/src/services/ProfileFixerService.ts +++ b/project/src/services/ProfileFixerService.ts @@ -1380,7 +1380,7 @@ export class ProfileFixerService const quests = this.databaseServer.getTables().templates.quests; const profileQuests = pmcProfile.Quests; - let repeatableQuests: IRepeatableQuest[] = []; + const repeatableQuests: IRepeatableQuest[] = []; for (const repeatableQuestType of pmcProfile.RepeatableQuests) { repeatableQuests.push(...repeatableQuestType.activeQuests);