Quantcast

Fix JonasJSK26849 #383 Issue with SendWaypoint

Ludovicus [08-04-18 - 16:35]
Fix JonasJSK26849 #383 Issue with SendWaypoint
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index 5d102b3..ceef3e7 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -643,7 +643,7 @@ end

 function TomTom:SendWaypoint(uid, channel)
     local data = uid
-    local m, f, x, y = unpack(data)
+    local m, x, y = unpack(data)
     local msg = string.format("%d:%f:%f:%s", m, x, y, data.title or "")
     C_ChatInfo.SendAddonMessage("TOMTOM4", msg, channel)
 end