From 2e42e833644f2f6dbbc6dfeb84a5c7ca8d690ed6 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sat, 13 Oct 2012 12:21:09 +0200 Subject: [PATCH] Make sure that the accepted quests is tracked if automatic tracking is enabled --- Monomyth.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Monomyth.lua b/Monomyth.lua index 73adc44..8df97c4 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -118,6 +118,14 @@ end) Monomyth:Register('QUEST_ACCEPT_CONFIRM', AcceptQuest) +Monomyth:Register('QUEST_ACCEPTED', function(id) + if(not GetCVarBool('autoQuestWatch')) then return end + + if(not IsQuestWatched(id) and GetNumQuestWatches() < MAX_WATCHABLE_QUESTS) then + AddQuestWatch(id) + end +end) + Monomyth:Register('QUEST_PROGRESS', function() if(IsQuestCompletable()) then CompleteQuest() -- 1.7.9.5