Quantcast

Don't hide icons that are disabled, so they still get callbacks

James Whitehead II [09-25-08 - 17:01]
Don't hide icons that are disabled, so they still get callbacks
Filename
TomTom_Waypoints.lua
diff --git a/TomTom_Waypoints.lua b/TomTom_Waypoints.lua
index 591e170..2e6a191 100644
--- a/TomTom_Waypoints.lua
+++ b/TomTom_Waypoints.lua
@@ -310,7 +310,7 @@ do
 		local dist,x,y = Astrolabe:GetDistanceToIcon(self)
 		local disabled = self.disabled

-		if disabled or not dist or IsInInstance() then
+		if not dist or IsInInstance() then
 			self:Hide()
 			return
 		end