Fixed goal problem in TASK_CARGO_TRANSPORT more or less, needs further investigation

This commit is contained in:
FlightControl
2017-07-02 12:44:27 +02:00
parent f221047eba
commit af230d9874
4 changed files with 44 additions and 8 deletions

View File

@@ -2395,5 +2395,16 @@ function CONTROLLABLE:IsAirPlane()
return nil
end
function CONTROLLABLE:GetSize()
local DCSObject = self:GetDCSObject()
if DCSObject then
return 1
else
return 0
end
end
-- Message APIs