Deliver quests first
p3lim [01-05-11 - 12:23]
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