Skip to content

Commit

Permalink
Added logging of quest being replaced when generating new repeatable
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomp committed Dec 9, 2024
1 parent d9e8931 commit 8f416c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions project/src/controllers/RepeatableQuestController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,10 @@ export class RepeatableQuestController {
newRepeatableQuest.side = repeatableConfig.side;
repeatablesInProfile.activeQuests.push(newRepeatableQuest);

this.logger.debug(
`Removing: ${repeatableConfig.name} quest: ${questToReplace._id} from trader: ${questToReplace.traderId} as its been replaced`,
);

// Find quest we're replacing in pmc profile quests array and remove it
this.questHelper.findAndRemoveQuestFromArrayIfExists(questToReplace._id, pmcData.Quests);

Expand Down

0 comments on commit 8f416c5

Please sign in to comment.