From d0d82222b5ceefb4f25ed3e7000b5cd2cf6d14c9 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Thu, 5 Jun 2014 17:24:24 +0200 Subject: [PATCH] Let QuestFrame's eventhandler run as normal to avoid issues with quests in starting zones that operate differently --- Monomyth.lua | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Monomyth.lua b/Monomyth.lua index 3295fa9..c514c1e 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -159,17 +159,11 @@ Monomyth:Register('GOSSIP_CONFIRM', function(index) end end) -QuestFrame:UnregisterEvent('QUEST_DETAIL') Monomyth:Register('QUEST_DETAIL', function() if(not QuestGetAutoAccept() and not QuestIsFromAreaTrigger()) then - QuestFrame_OnEvent(QuestFrame, 'QUEST_DETAIL') - - -- We do this check again instead of improving the event handler - if(MonomythDB.toggle and MonomythDB.reverse == modifier) then - AcceptQuest() - end + AcceptQuest() end -end, true) +end) Monomyth:Register('QUEST_ACCEPT_CONFIRM', AcceptQuest) -- 1.7.9.5