diff --git a/providers/gossip.lua b/providers/gossip.lua index 9d781c6..7ddafea 100644 --- a/providers/gossip.lua +++ b/providers/gossip.lua @@ -151,14 +151,14 @@ function gossipProvider:AddPin(info, gossipInfo) pin:SetID(gossipInfo.gossipOptionID) pin.owner = self + -- flag the map for ancestry + addon:FlagMap(info.mapID) + if not pin:SetPosition(info.mapID, info.x, info.y) then pin:Hide() return end - -- flag the map for ancestry - addon:FlagMap(info.mapID) - if info.isTaxi then pin:SetSize(20, 20) pin:SetIconAtlas('Taxi_Frame_Gray')