From 364e59096084d1be01808351ed0134e08c2a0355 Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 12 Apr 2024 11:20:30 +0100 Subject: [PATCH] Improved logic for failing a quest - will never send a failed message for daily --- project/src/helpers/QuestHelper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project/src/helpers/QuestHelper.ts b/project/src/helpers/QuestHelper.ts index aaeb5efe..c8b86078 100644 --- a/project/src/helpers/QuestHelper.ts +++ b/project/src/helpers/QuestHelper.ts @@ -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,