From 320c17273dc728649128f701707cb11cb9afbfed Mon Sep 17 00:00:00 2001 From: HonorGoG Date: Fri, 4 Jan 2019 15:54:52 -0800 Subject: [PATCH] - TitanLocation: Removal of TitanDebug calls an extraneous test data for release version. --- TitanLocation/TitanLocation.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/TitanLocation/TitanLocation.lua b/TitanLocation/TitanLocation.lua index 7cf2227..743d603 100755 --- a/TitanLocation/TitanLocation.lua +++ b/TitanLocation/TitanLocation.lua @@ -187,8 +187,6 @@ end -- ************************************************************************** function TitanPanelLocationButton_OnEvent(self, event, ...) if event == "PLAYER_ENTERING_WORLD" then - TitanDebug("PEW_LocOnMiniMap Value: "..tostring(LocOnMiniMap)) - TitanDebug("PEW_ShowLocOnMiniMap Value: "..TitanGetVar(TITAN_LOCATION_ID, "ShowLocOnMiniMap")) if TitanGetVar(TITAN_LOCATION_ID, "ShowLocOnMiniMap") and MinimapBorderTop and MinimapBorderTop:IsShown() then TitanPanelLocationButton_LocOnMiniMap() end @@ -206,14 +204,6 @@ end -- function to throttle down unnecessary updates function TitanPanelLocationButton_CheckForUpdate() --- TitanDebug("LocOnMiniMap Value: "..tostring(LocOnMiniMap)) --- TitanDebug("ShowLocOnMiniMap Value: "..TitanGetVar(TITAN_LOCATION_ID, "ShowLocOnMiniMap")) --- if not LocOnMiniMap and not TitanGetVar(TITAN_LOCATION_ID, "ShowLocOnMiniMap") and MinimapBorderTop and MinimapBorderTop:IsShown() then --- if TitanGetVar(TITAN_LOCATION_ID, "ShowLocOnMiniMap") and MinimapBorderTop and MinimapBorderTop:IsShown() then --- TitanDebug("Calling TitanPanelLocationButton_LocOnMiniMap") --- TitanPanelLocationButton_LocOnMiniMap() --- local LocOnMiniMap = true; --- end local mapID = C_Map.GetBestMapForUnit("player") local tempx, tempy = TitanPanelGetPlayerMapPosition(); if tempx ~= cachedX or tempy ~= cachedY then @@ -227,7 +217,6 @@ end -- ************************************************************************** function TitanPanelLocation_HandleUpdater() if TitanPanelLocationButton:IsVisible() and not LocationTimer then - TitanDebug("LocationTimer Started") LocationTimer = AceTimer.ScheduleRepeatingTimer("TitanPanelLocation", TitanPanelLocationButton_CheckForUpdate, 0.5) end end -- 1.7.9.5