Skip to content

Commit

Permalink
Don't skip quest gossips when there's more than one
Browse files Browse the repository at this point in the history
  • Loading branch information
p3lim committed Sep 8, 2024
1 parent c606551 commit 72723a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gossip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ function addon:GOSSIP_SHOW()
end
end

if #gossipSkips > 0 and addon:GetOption('autoquestgossip') then
if #gossipSkips == 1 and addon:GetOption('autoquestgossip') then
C_GossipInfo.SelectOption(gossipSkips[1])
return
elseif #gossipQuests > 0 and addon:GetOption('autoquestgossip') then
elseif #gossipQuests == 1 and addon:GetOption('autoquestgossip') then
C_GossipInfo.SelectOption(gossipQuests[1])
return
end
Expand Down

0 comments on commit 72723a6

Please sign in to comment.