diff WorldPlan.lua @ 54:b289eb3e6a32

- Fix stray pin text arising from pins that are never shown.
author Nenue
date Sat, 31 Dec 2016 17:31:39 -0500
parents dbd81d49af02
children 0749e38081e7
line wrap: on
line diff
--- a/WorldPlan.lua	Fri Dec 30 20:43:58 2016 -0500
+++ b/WorldPlan.lua	Sat Dec 31 17:31:39 2016 -0500
@@ -74,6 +74,7 @@
   }
 }
 
+
 db.DefaultConfig = {
   ShowAllProfessionQuests = false,
   DisplayContinentSummary = true,
@@ -83,6 +84,13 @@
   FadeWhileGrouped = false,
   FlightMapAlphaLimits = {1, 1, 1},
   FlightMapScalingLimits = {1, 3, 1.5},
+  --UntrackedColor = {},
+  --TrackedColor = {},
+  --CriteriaColor = {},
+  --RewardColorGold = {},
+  --RewardColorReagent = {},
+  --RewardColorArtifactPower = {},
+  --RewardColorCurrency = {},
 }
 
 
@@ -281,15 +289,15 @@
   local mapAreaID = GetCurrentMapAreaID()
   local isBrokenIsle = BROKEN_ISLE_MAPS[mapAreaID]
 
-
+  local isContinent = (mapAreaID == BROKEN_ISLES_ID)
   db.currentMapID = mapAreaID
-  db.isContinentMap = (mapAreaID == BROKEN_ISLES_ID)
+  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')
-      module:OnMapInfo(isBrokenIsle, mapAreaID)
+      module:OnMapInfo(isBrokenIsle, isContinent, mapAreaID)
     end
   end
 end