Fix the /wayb command for 'wayback' points
James Whitehead II [01-16-11 - 23:00]
Fix the /wayb command for 'wayback' points
diff --git a/TomTom.lua b/TomTom.lua
index 91a696d..e62f488 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -1057,8 +1057,10 @@ end
SLASH_TOMTOM_WAYBACK1 = "/wayb"
SLASH_TOMTOM_WAYBACK2 = "/wayback"
SlashCmdList["TOMTOM_WAYBACK"] = function(msg)
- local backc,backz,backx,backy = TomTom:GetCurrentPlayerPosition()
- TomTom:AddZWaypoint(backc, backz, backx, backy, L["Wayback"])
+ local backm,backf,backx,backy = TomTom:GetCurrentPlayerPosition()
+ TomTom:AddMFWaypoint(backm, backf, backx, backy, {
+ title = L["Wayback"],
+ })
end
SLASH_TOMTOM_WAY1 = "/way"