This commit is contained in:
Frank
2020-05-22 11:21:09 +02:00
parent 3c7a90e2a2
commit 5223a4beba
3 changed files with 26 additions and 13 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ function NAVYGROUP:onafterUpdateRoute(From, Event, To, n, Speed, Depth)
-- Set speed.
wp.speed=UTILS.KmphToMps(speed)
wp.alt=-depth
wp.alt=-depth --Depth and -Depth or wp.alt
-- Add waypoint.
table.insert(waypoints, wp)