Skip to content

Commit

Permalink
GetPlayerPosition is now based on the RealMapID not whatever fake one…
Browse files Browse the repository at this point in the history
… might be made up for CurrentMapID
  • Loading branch information
ImUnicke committed Jan 11, 2025
1 parent 639a364 commit 740c60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Classes/Maps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ local function GetMapName(mapID)
end
end
local function GetPlayerPosition()
local mapID = app.CurrentMapID;
local mapID = app.RealMapID;
if mapID then
local pos = C_Map_GetPlayerMapPosition(mapID, "player");
if pos then
Expand Down

0 comments on commit 740c60b

Please sign in to comment.