Skip to content

Commit

Permalink
GetQuestLogTitle changed in WoD. isComplete now position 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sefriol committed Sep 8, 2019
1 parent 6f0ee93 commit a5b5fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TourGuide.lua
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function TourGuide:GetQuestDetails(name, qid, qo)
if not name then return end

local i = qid and self:GetQuestLogIndexByQID(qid) or self:GetQuestLogIndexByName(name)
local complete = i and (qo and self:IsQuestObjectiveComplete(i, qo) or select(7, GetQuestLogTitle(i)) == 1)
local complete = i and (qo and self:IsQuestObjectiveComplete(i, qo) or select(6, GetQuestLogTitle(i)) == 1)
return i, complete
end

Expand Down

0 comments on commit a5b5fd0

Please sign in to comment.