mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 01:30:44 -05:00
Added logging of quest being replaced when generating new repeatable
This commit is contained in:
parent
d9e893149a
commit
8f416c5dee
@ -532,6 +532,10 @@ export class RepeatableQuestController {
|
|||||||
newRepeatableQuest.side = repeatableConfig.side;
|
newRepeatableQuest.side = repeatableConfig.side;
|
||||||
repeatablesInProfile.activeQuests.push(newRepeatableQuest);
|
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
|
// Find quest we're replacing in pmc profile quests array and remove it
|
||||||
this.questHelper.findAndRemoveQuestFromArrayIfExists(questToReplace._id, pmcData.Quests);
|
this.questHelper.findAndRemoveQuestFromArrayIfExists(questToReplace._id, pmcData.Quests);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user