* Fixing an issue where crazy arrow would appear even when disabled
James Whitehead II [03-27-08 - 10:01]
* Fixing an issue where crazy arrow would appear even when disabled
* Updated externals to fix config issue
diff --git a/TomTom_CrazyArrow.lua b/TomTom_CrazyArrow.lua
index 80f55e3..a52834c 100644
--- a/TomTom_CrazyArrow.lua
+++ b/TomTom_CrazyArrow.lua
@@ -97,12 +97,14 @@ wayframe.arrow:SetAllPoints()
local active_point, arrive_distance, showDownArrow, point_title
function TomTom:SetCrazyArrow(uid, dist, title)
- active_point = uid
- arrive_distance = dist
- point_title = title
+ if self.profile.arrow.enable then
+ active_point = uid
+ arrive_distance = dist
+ point_title = title
- wayframe.title:SetText(title or "Unknown waypoint")
- wayframe:Show()
+ wayframe.title:SetText(title or "Unknown waypoint")
+ wayframe:Show()
+ end
end
local status = wayframe.status