Mercurial > wow > worldplan
diff WorldPlan.lua @ 56:0749e38081e7
- More fixes for map updates from non-Legion zones.
author | Nenue |
---|---|
date | Tue, 03 Jan 2017 20:04:16 -0500 |
parents | b289eb3e6a32 |
children | abcdef801db5 |
line wrap: on
line diff
--- a/WorldPlan.lua Sat Dec 31 17:48:25 2016 -0500 +++ b/WorldPlan.lua Tue Jan 03 20:04:16 2017 -0500 @@ -287,9 +287,13 @@ function WorldPlanCore:SetCurrentMap() local mapAreaID = GetCurrentMapAreaID() + if not mapAreaID then + return + end + print(mapAreaID) local isBrokenIsle = BROKEN_ISLE_MAPS[mapAreaID] + local isContinent = (mapAreaID == BROKEN_ISLES_ID) - local isContinent = (mapAreaID == BROKEN_ISLES_ID) db.currentMapID = mapAreaID db.isContinentMap = isContinent db.useContinentType = (WorldMapDetailFrame:GetScale() < 1)