From 3ca751b8c6066b7bc4a3e07916da3df18707c9fe Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Thu, 27 Mar 2008 10:01:38 +0000 Subject: [PATCH] * Fixing an issue where crazy arrow would appear even when disabled * Updated externals to fix config issue --- TomTom_CrazyArrow.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -- 1.7.9.5