Mercurial > wow > worldplan
diff 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 |
line wrap: on
line diff
--- a/WorldPlan.lua Wed Mar 29 13:45:41 2017 -0400 +++ b/WorldPlan.lua Thu Mar 30 02:32:44 2017 -0400 @@ -294,10 +294,16 @@ local isBrokenIsle = BROKEN_ISLE_MAPS[mapAreaID] local isContinent = (mapAreaID == BROKEN_ISLES_ID) + if db.isContinentMap ~= isContinent then + for _, pin in pairs(db.QuestsByID) do + pin.isStale = true + end + end db.currentMapID = mapAreaID db.isContinentMap = isContinent db.useContinentType = (WorldMapDetailFrame:GetScale() < 1) + for _, module in ipairs(db.OrderedModules) do if module.OnMapInfo then print(' |cFF00FFFF'..module:GetName() .. ':OnMapInfo()|r')