Skip to content

Commit

Permalink
database: use func provided by meta
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Nov 14, 2017
1 parent 8598568 commit ed53a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pfDatabase.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function pfDatabase:SearchMob(mob, meta)
if pfMap:IsValidMap(zone) and zone > 0 then
maps[zone] = maps[zone] and maps[zone] + 1 or 1
local title, description = pfDatabase:BuildTooltipInfo(meta)
pfMap:AddNode(meta["addon"] or "PFDB", zone, x .. "|" .. y, meta["texture"], title, description, meta["translucent"], func, meta["vertex"], meta["layer"])
pfMap:AddNode(meta["addon"] or "PFDB", zone, x .. "|" .. y, meta["texture"], title, description, meta["translucent"], meta["func"], meta["vertex"], meta["layer"])
end
end

Expand Down

0 comments on commit ed53a83

Please sign in to comment.