Quantcast

Correct typo found by arith in TomTom:ResetWaypointOptions()

Ludovicus [07-06-18 - 18:34]
Correct typo found  by arith in  TomTom:ResetWaypointOptions()
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index a5dd101..7f35915 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -251,7 +251,7 @@ function TomTom:ResetWaypointOptions()
 	for map, data in pairs(self.waypointprofile) do
 		for key, waypoint in pairs(data) do
 			waypoint.minimap = minimap
-			waypoint.world = sorld
+			waypoint.world = world
 			waypoint.cleardistance = cleardistance
 			waypoint.arrivaldistance = arrivaldistance
 		end