Quantcast

Fix non-zone slash command

James Whitehead II [01-24-11 - 14:25]
Fix non-zone slash command
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index 11f958e..0f106e9 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -1223,7 +1223,7 @@ SlashCmdList["TOMTOM_WAY"] = function(msg)

         local m, f = TomTom:GetCurrentPlayerPosition()
         if m and x and y then
-           TomTom:AddMFWaypoint(m, f, x, y, {
+           TomTom:AddMFWaypoint(m, f, x/100, y/100, {
                 title = desc
             })
         end