Improved logic for failing a quest - will never send a failed message for daily
This commit is contained in:
parent
9dc8211268
commit
364e590960
@ -731,7 +731,8 @@ export class QuestHelper
|
|||||||
repeatableType.activeQuests
|
repeatableType.activeQuests
|
||||||
).find((activeQuest) => activeQuest._id === failRequest.qid);
|
).find((activeQuest) => activeQuest._id === failRequest.qid);
|
||||||
|
|
||||||
if (matchingRepeatableQuest || quest)
|
// Quest found and no repeatable found
|
||||||
|
if (quest && !matchingRepeatableQuest)
|
||||||
{
|
{
|
||||||
this.mailSendService.sendLocalisedNpcMessageToPlayer(
|
this.mailSendService.sendLocalisedNpcMessageToPlayer(
|
||||||
sessionID,
|
sessionID,
|
||||||
|
Loading…
Reference in New Issue
Block a user