declare repeatableQuests as const not let inside removeOrphanedQuests()

This commit is contained in:
Dev 2024-01-29 11:12:57 +00:00
parent 2bb8965c80
commit 330b1ebf28

View File

@ -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);