Quantcast

No need to hide it manually

Adrian L Lange [08-14-12 - 19:28]
No need to hide it manually
Filename
Monomyth.lua
diff --git a/Monomyth.lua b/Monomyth.lua
index 8cc0ac1..5d324d5 100644
--- a/Monomyth.lua
+++ b/Monomyth.lua
@@ -123,14 +123,6 @@ Monomyth:Register('QUEST_DETAIL', function()
 	end
 end)

-Monomyth:Register('QUEST_ACCEPTED', function()
-	if(GossipFrame:IsShown() and GetNumGossipAvailableQuests() == 0 and GetNumGossipCompletedQuests() == 0) then
-		CloseGossip()
-	elseif(QuestFrame:IsShown()) then
-		HideUIPanel(QuestFrame)
-	end
-end)
-
 Monomyth:Register('QUEST_ACCEPT_CONFIRM', AcceptQuest)

 Monomyth:Register('QUEST_PROGRESS', function()