This commit is contained in:
Frank
2020-07-21 01:19:03 +02:00
parent ce1121a4c2
commit d9b7cc18f3
6 changed files with 453 additions and 9 deletions

View File

@@ -242,7 +242,7 @@ function NAVYGROUP:CreateTurnIntoWind(starttime, stoptime, speed, uturn, offset)
local Tstart=UTILS.ClockToSeconds(starttime)
-- Set stop time.
local Tstop=UTILS.ClockToSeconds(stoptime or Tstart+90*60)
local Tstop=stoptime and UTILS.ClockToSeconds(stoptime) or Tstart+90*60
-- Consistancy check for timing.
if Tstart>Tstop then