Commit 4204fbb3 authored by Simpy's avatar Simpy 🐹

C_Map_GetMapInfo fixes guild dt

parent 96bedee9
......@@ -404,7 +404,7 @@ LocalizeZoneNames()
--We can then use this function when we need to compare the players own zone against return values from stuff like GetFriendInfo and GetGuildRosterInfo,
--which adds the " (Outland)" part unlike the GetRealZoneText() API.
function E:GetZoneText(zoneAreaID)
local zoneName = GetMapNameByID(zoneAreaID)
local zoneName = C_Map_GetMapInfo(zoneAreaID)
local continent = ZoneIDToContinentName[zoneAreaID]
if continent and continent == "Outland" then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment