Fix TomTom:AddWaypointToCurrentZone() to use AddWaypoint()
Ludovicus [07-26-18 - 21:52]
Fix TomTom:AddWaypointToCurrentZone() to use AddWaypoint()
diff --git a/TomTom.lua b/TomTom.lua
index 7d1132c..5d102b3 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -780,7 +780,7 @@ function TomTom:AddWaypointToCurrentZone(x, y, desc)
return
end
- return self:AddMFWaypoint(m, f, x/100, y/100, {title = desc})
+ return self:AddWaypoint(m, x/100, y/100, {title = desc})
end
-- Return a set of default callbacks that can be used by addons to provide