Skip to content

Commit

Permalink
quest: only check watched on real quests
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Oct 11, 2019
1 parent 9aa6a74 commit 5e902bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ function pfQuest:UpdateQuestlog()

local title, _, _, header, _, complete = compat.GetQuestLogTitle(qlogid)
local objectives = GetNumQuestLeaderBoards(qlogid)
local watched = IsQuestWatched(qlogid)
local watched

if title and not header then
watched = IsQuestWatched(qlogid)
-- add new quest to the questlog
if not pfQuest.questlog[title] then
local questID = pfDatabase:GetQuestIDs(qlogid)
Expand Down

0 comments on commit 5e902bd

Please sign in to comment.