do not set a quest to failed if it's rewarded or has no status at all (not taken).

This commit is contained in:
hondacrx
2017-10-04 12:32:54 -04:00
parent e45c13a8dc
commit 168b587aa9
3 changed files with 7 additions and 17 deletions
+2 -8
View File
@@ -153,17 +153,11 @@ namespace Game.AI
{
Player member = groupRef.GetSource();
if (member)
{
if (member.GetQuestStatus(m_pQuestForFollow.Id) == QuestStatus.Incomplete)
member.FailQuest(m_pQuestForFollow.Id);
}
member.FailQuest(m_pQuestForFollow.Id);
}
}
else
{
if (player.GetQuestStatus(m_pQuestForFollow.Id) == QuestStatus.Incomplete)
player.FailQuest(m_pQuestForFollow.Id);
}
player.FailQuest(m_pQuestForFollow.Id);
}
}