From b9fe32285d99cae54c2230bf783b84b346aebdb3 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Thu, 5 Jun 2014 17:25:06 +0200 Subject: [PATCH] Hide the quest window(s) for starting zone quests --- Monomyth.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Monomyth.lua b/Monomyth.lua index c514c1e..b02e290 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -168,6 +168,10 @@ end) Monomyth:Register('QUEST_ACCEPT_CONFIRM', AcceptQuest) Monomyth:Register('QUEST_ACCEPTED', function(id) + if(QuestFrame:IsShown() and QuestGetAutoAccept()) then + CloseQuest() + end + if(not GetCVarBool('autoQuestWatch')) then return end if(not IsQuestWatched(id) and GetNumQuestWatches() < MAX_WATCHABLE_QUESTS) then -- 1.7.9.5