Improved logic for failing a quest - will never send a failed message for daily

This commit is contained in:
Dev 2024-04-12 11:20:30 +01:00
parent 9dc8211268
commit 364e590960

View File

@ -731,7 +731,8 @@ export class QuestHelper
repeatableType.activeQuests
).find((activeQuest) => activeQuest._id === failRequest.qid);
if (matchingRepeatableQuest || quest)
// Quest found and no repeatable found
if (quest && !matchingRepeatableQuest)
{
this.mailSendService.sendLocalisedNpcMessageToPlayer(
sessionID,