Mercurial > wow > worldplan
comparison WorldPlan.lua @ 66:e43e10c5576b
Update for Legion Patch 7.2
- Massive performance improvements through largely re-written update routines.
- Removed AP token caching until reliable mechanisms for detecting AK shifts can be resolved.
| author | Nenue |
|---|---|
| date | Thu, 30 Mar 2017 02:32:44 -0400 |
| parents | 876c3f0bfd0e |
| children | 96183f981acb |
comparison
equal
deleted
inserted
replaced
| 65:02f1d3bce558 | 66:e43e10c5576b |
|---|---|
| 292 end | 292 end |
| 293 print(mapAreaID) | 293 print(mapAreaID) |
| 294 local isBrokenIsle = BROKEN_ISLE_MAPS[mapAreaID] | 294 local isBrokenIsle = BROKEN_ISLE_MAPS[mapAreaID] |
| 295 local isContinent = (mapAreaID == BROKEN_ISLES_ID) | 295 local isContinent = (mapAreaID == BROKEN_ISLES_ID) |
| 296 | 296 |
| 297 if db.isContinentMap ~= isContinent then | |
| 298 for _, pin in pairs(db.QuestsByID) do | |
| 299 pin.isStale = true | |
| 300 end | |
| 301 end | |
| 297 db.currentMapID = mapAreaID | 302 db.currentMapID = mapAreaID |
| 298 db.isContinentMap = isContinent | 303 db.isContinentMap = isContinent |
| 299 db.useContinentType = (WorldMapDetailFrame:GetScale() < 1) | 304 db.useContinentType = (WorldMapDetailFrame:GetScale() < 1) |
| 305 | |
| 300 | 306 |
| 301 for _, module in ipairs(db.OrderedModules) do | 307 for _, module in ipairs(db.OrderedModules) do |
| 302 if module.OnMapInfo then | 308 if module.OnMapInfo then |
| 303 print(' |cFF00FFFF'..module:GetName() .. ':OnMapInfo()|r') | 309 print(' |cFF00FFFF'..module:GetName() .. ':OnMapInfo()|r') |
| 304 module:OnMapInfo(isBrokenIsle, isContinent, mapAreaID) | 310 module:OnMapInfo(isBrokenIsle, isContinent, mapAreaID) |
