From 082f67e14817d2c49310113cce547e1547870b64 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Tue, 24 May 2011 10:28:18 +0100 Subject: [PATCH] Ensure the waypoint table doesn't get dirty --- TomTom_Waypoints.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/TomTom_Waypoints.lua b/TomTom_Waypoints.lua index 47b0a74..27b5755 100644 --- a/TomTom_Waypoints.lua +++ b/TomTom_Waypoints.lua @@ -224,6 +224,7 @@ function TomTom:ClearWaypoint(uid) point.dlist = nil point.uid = nil table.insert(pool, point) + waypointMap[uid] = nil end end -- 1.7.9.5