Core/Quests: Fixed quest dialog not closing automatically when there are no other follow-up quests for the quest giver

Port From (https://github.com/TrinityCore/TrinityCore/commit/78b3f6309fa2d20fdd8a45a442cef55054b44ac6)
This commit is contained in:
hondacrx
2023-06-13 05:11:52 -04:00
parent 2f8a453d5b
commit f5108cbb94
+1 -1
View File
@@ -2847,7 +2847,7 @@ namespace Game.Entities
if (questGiver.IsGossip())
packet.LaunchGossip = true;
else if (questGiver.IsQuestGiver())
packet.LaunchQuest = true;
packet.LaunchQuest = (GetQuestDialogStatus(questGiver) & ~QuestGiverStatus.Future) != QuestGiverStatus.None;
else if (quest.NextQuestInChain != 0 && !quest.HasFlag(QuestFlags.AutoComplete))
{
Quest rewardQuest = Global.ObjectMgr.GetQuestTemplate(quest.NextQuestInChain);