- Changes to make the live version work with the BfA Beta.

This commit is contained in:
Tercio
2018-05-03 14:51:47 -03:00
parent febf9dd34f
commit 117913ab8d
24 changed files with 501 additions and 116 deletions
+11 -6
View File
@@ -683,13 +683,18 @@
}
function _detalhes:IsInCity()
SetMapToCurrentZone()
local mapFileName, _, _, _, microDungeonMapName = GetMapInfo()
if (_detalhes.IsBFAClient) then
return false
else
SetMapToCurrentZone()
local mapFileName, _, _, _, microDungeonMapName = GetMapInfo()
if (city_zones [mapFileName]) then
return true
elseif (microDungeonMapName and type (microDungeonMapName) == "string" and sub_zones [microDungeonMapName]) then
return true
end
if (city_zones [mapFileName]) then
return true
elseif (microDungeonMapName and type (microDungeonMapName) == "string" and sub_zones [microDungeonMapName]) then
return true
end
end