Navigation Menu

Skip to content

Commit

Permalink
map: avoid duplicate tooltip entries
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Sep 21, 2019
1 parent e86bd43 commit 2445792
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions map.lua
Expand Up @@ -195,12 +195,6 @@ function pfMap:ShowTooltip(meta, tooltip)
end
end
end

if not catch_obj and meta["qlvl"] and meta["texture"] then
local qlvlstr = pfQuest_Loc["Level"] .. ": " .. pfMap:HexDifficultyColor(meta["qlvl"]) .. meta["qlvl"] .. "|r"
local qminstr = meta["qmin"] and " / " .. pfQuest_Loc["Required"] .. ": " .. pfMap:HexDifficultyColor(meta["qmin"], true) .. meta["qmin"] .. "|r" or ""
tooltip:AddLine("|cffaaaaaa- |r" .. qlvlstr .. qminstr , .8,.8,.8)
end
end
end

Expand Down

0 comments on commit 2445792

Please sign in to comment.