Quantcast

Hide the quest window(s) for starting zone quests

Adrian L Lange [06-05-14 - 15:25]
Hide the quest window(s) for starting zone quests
Filename
Monomyth.lua
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