Quantcast

Remove debug code

Scott Sibley [08-06-10 - 14:12]
Remove debug code
Filename
StarTip.lua
diff --git a/StarTip.lua b/StarTip.lua
index 71f6fa1..3758667 100644
--- a/StarTip.lua
+++ b/StarTip.lua
@@ -315,10 +315,8 @@ function StarTip:GameTooltipShow(...)
 			if GameTooltip:IsOwned(UIParent) then
 				if GameTooltip:GetUnit() then
 					-- world unit
-					StarTip:Print("world unit")
 					show = StarTip.db.profile.unitShow
 				else
-					StarTip:Print("world object")
 					-- world object
 					show = StarTip.db.profile.objectShow
 				end
@@ -332,7 +330,6 @@ function StarTip:GameTooltipShow(...)
 				end
 			end

-			StarTip:Print("show " .. show)
 			if show == 1 then -- always shown
 				show = true
 			elseif show == 2 then -- only show out of combat
@@ -344,7 +341,7 @@ function StarTip:GameTooltipShow(...)
 			end
 	end

-	if not show then StarTip:Print("hide"); GameTooltip:Hide() end
+	if not show then GameTooltip:Hide() end
 end

 function StarTip:OnTooltipShow(this, ...)