diff WorldPlan.lua @ 110:f6ef9a9f5476

nop out `WorldMap_SetupWorldQuestButton` since we aren't using them visually
author Nenue
date Tue, 25 Jul 2017 12:38:27 -0400
parents caa482329919
children e8b6c5433128
line wrap: on
line diff
--- a/WorldPlan.lua	Mon Jul 10 18:34:11 2017 -0400
+++ b/WorldPlan.lua	Tue Jul 25 12:38:27 2017 -0400
@@ -12,6 +12,7 @@
 local GetCurrentMapAreaID = GetCurrentMapAreaID
 local GetTime, IsLoggedIn = GetTime, IsLoggedIn
 local DEBUG_HISTORY = {}
+local ofunc = {}
 
 -- Define tables here so the pointers match up
 WorldPlanCore = { defaults = {}, modules = {}, TaskQueue = {}, }
@@ -399,6 +400,10 @@
   self:RegisterEvent("ADDON_LOADED")
   self:RegisterEvent("PLAYER_LOGIN")
   --self:SetParent(WorldMapFrame)
+
+
+  ofunc[WorldMap_SetupWorldQuestButton] = WorldMap_SetupWorldQuestButton
+  WorldMap_SetupWorldQuestButton = nop
 end
 
 function WorldPlanCore:OnShow()