declare repeatableQuests
as const not let inside removeOrphanedQuests()
This commit is contained in:
parent
2bb8965c80
commit
330b1ebf28
@ -1380,7 +1380,7 @@ export class ProfileFixerService
|
|||||||
const quests = this.databaseServer.getTables().templates.quests;
|
const quests = this.databaseServer.getTables().templates.quests;
|
||||||
const profileQuests = pmcProfile.Quests;
|
const profileQuests = pmcProfile.Quests;
|
||||||
|
|
||||||
let repeatableQuests: IRepeatableQuest[] = [];
|
const repeatableQuests: IRepeatableQuest[] = [];
|
||||||
for (const repeatableQuestType of pmcProfile.RepeatableQuests)
|
for (const repeatableQuestType of pmcProfile.RepeatableQuests)
|
||||||
{
|
{
|
||||||
repeatableQuests.push(...repeatableQuestType.activeQuests);
|
repeatableQuests.push(...repeatableQuestType.activeQuests);
|
||||||
|
Loading…
Reference in New Issue
Block a user