From 3411936deb8b74e86e3f728c5781b2af2f01e8d9 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Wed, 26 Mar 2008 07:41:00 +0000 Subject: [PATCH] * Make sure to return the uid from AddZWaypoints --- TomTom.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TomTom.lua b/TomTom.lua index d3fa646..938fffe 100755 --- a/TomTom.lua +++ b/TomTom.lua @@ -596,6 +596,8 @@ function TomTom:AddZWaypoint(c, z, x, y, desc, persistent, minimap, world) local data = string.format("%d:%s", coord, desc or "") table.insert(self.waypointprofile[zone], data) end + + return uid end -- Code taken from HandyNotes, thanks Xinhuan -- 1.7.9.5