# TaskRecoveryTanker

This commit is contained in:
Applevangelist 2022-11-18 11:28:33 +01:00
parent b47737bda3
commit df17a3d2a3

View File

@ -1377,7 +1377,7 @@ end
-- @return DCS#Task The DCS task structure.
function CONTROLLABLE:TaskRecoveryTanker(CarrierGroup, Speed, Altitude, LastWptNumber)
local LastWptFlag = LastWptNumber and true or false
local LastWptFlag = type(LastWptNumber) == "number" and true or false
local DCSTask = {
id = "RecoveryTanker",