diff 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
line wrap: on
line diff
--- a/WorldQuests.lua	Mon Apr 10 17:50:16 2017 -0400
+++ b/WorldQuests.lua	Mon Apr 10 18:05:36 2017 -0400
@@ -268,7 +268,7 @@
 end
 
 function Module:OnMapInfo(isBrokenIsle, isZoomedOut, mapAreaID, isNewMap, isMapOpen)
-  if isNewMap then
+  if isNewMap or self.isStale then
     print('|cFF0088FFOnMapInfo()|r, mapAreaID =', mapAreaID,'visible =', isMapOpen, 'changed =', isNewMap)
     layoutDirty = true
     self:Refresh('WORLD_MAP_CHANGED')