Mercurial > wow > worldplan
comparison WorldQuests.lua @ 86:effb42f6fabd v1.4.6
- Fixed pins not returning to WorldMapFrame after the FlightMap is opened
author | Nenue |
---|---|
date | Mon, 10 Apr 2017 18:05:36 -0400 |
parents | a12f782571c5 |
children | 77013bd72adb |
comparison
equal
deleted
inserted
replaced
85:d3f36db572e5 | 86:effb42f6fabd |
---|---|
266 end | 266 end |
267 | 267 |
268 end | 268 end |
269 | 269 |
270 function Module:OnMapInfo(isBrokenIsle, isZoomedOut, mapAreaID, isNewMap, isMapOpen) | 270 function Module:OnMapInfo(isBrokenIsle, isZoomedOut, mapAreaID, isNewMap, isMapOpen) |
271 if isNewMap then | 271 if isNewMap or self.isStale then |
272 print('|cFF0088FFOnMapInfo()|r, mapAreaID =', mapAreaID,'visible =', isMapOpen, 'changed =', isNewMap) | 272 print('|cFF0088FFOnMapInfo()|r, mapAreaID =', mapAreaID,'visible =', isMapOpen, 'changed =', isNewMap) |
273 layoutDirty = true | 273 layoutDirty = true |
274 self:Refresh('WORLD_MAP_CHANGED') | 274 self:Refresh('WORLD_MAP_CHANGED') |
275 else | 275 else |
276 | 276 |