Quantcast

Fix clicking on coordinate block to set waypoint

James Whitehead II [01-16-11 - 22:59]
Fix clicking on coordinate block to set waypoint
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index 588e123..91a696d 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -1008,7 +1008,9 @@ do
         local m,f,x,y = TomTom:GetCurrentPlayerPosition()
         local zoneName = lmd:MapLocalize(m,f)
         local desc = format("%s: %.2f, %.2f", zoneName, x*100, y*100)
-        TomTom:AddZWaypoint(m, f, x, y, desc)
+        TomTom:AddMFWaypoint(m, f, x, y, {
+            title = desc,
+        })
     end
 end