Add cleardistance/arrivaldistance to reset button
James Whitehead II [10-30-12 - 06:40]
Add cleardistance/arrivaldistance to reset button
diff --git a/TomTom.lua b/TomTom.lua
index 9229ff5..3ca5034 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -246,11 +246,15 @@ end
function TomTom:ResetWaypointOptions()
local minimap = self.profile.minimap.enable
local world = self.profile.worldmap.enable
+ local cleardistance = self.profile.persistence.cleardistance
+ local arrivaldistance = self.profile.arrow.arrival
for map, data in pairs(self.waypointprofile) do
for key, waypoint in pairs(data) do
waypoint.minimap = minimap
waypoint.world = sorld
+ waypoint.cleardistance = cleardistance
+ waypoint.arrivaldistance = arrivaldistance
end
end
end