From df4ce7b904c275f331a692cd19c1f99da2c9d737 Mon Sep 17 00:00:00 2001 From: p3lim Date: Wed, 5 Jan 2011 13:23:40 +0100 Subject: [PATCH] Deliver quests first --- Monomyth.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Monomyth.lua b/Monomyth.lua index 46bf018..fbf8c09 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -35,9 +35,9 @@ addon:Register('GOSSIP_SHOW', function() local button = _G['GossipTitleButton' .. index] if(button and button:IsVisible()) then - if(button.type == 'Available') then + if(button.type == 'Active' and _G['GossipTitleButton' .. index .. 'GossipIcon']:GetTexture() == COMPLETE) then return button:Click() - elseif(button.type == 'Active' and _G['GossipTitleButton' .. index .. 'GossipIcon']:GetTexture() == COMPLETE) then + elseif(button.type == 'Available') then return button:Click() end end -- 1.7.9.5