0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 16:30:42 -05:00

Added logging of quest being replaced when generating new repeatable

This commit is contained in:
Chomp 2024-12-09 13:30:07 +00:00
parent d9e893149a
commit 8f416c5dee

View File

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