Skip to content

Commit

Permalink
Used new API introduced in 9.0.1 and documented here: https://wow.gam…
Browse files Browse the repository at this point in the history
  • Loading branch information
sydbarrett74 committed Oct 17, 2020
1 parent f70702d commit b5de0e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ local function findClosestChest(mapFile, level, posX, posY)
return nil
end

hooksecurefunc("SelectGossipOption", function ()
hooksecurefunc("C_GossipInfo.SelectOption", function ()
local mapID = C_Map.GetBestMapForUnit("player")
WorldMapFrame:SetMapID(mapID)
local _, _, _, _, mapFile = C_Map.GetMapInfo(mapID)
Expand Down

0 comments on commit b5de0e8

Please sign in to comment.