Quantcast

* Make sure to return the uid from AddZWaypoints

James Whitehead II [03-26-08 - 07:41]
* Make sure to return the uid from AddZWaypoints
Filename
TomTom.lua
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