* Fix for orbit task not able to get a Vec2 from a Vec2...
This commit is contained in:
Applevangelist 2022-11-23 12:57:54 +01:00
parent b99d963cd5
commit fe9a5aea2a

View File

@ -6031,7 +6031,7 @@ function AUFTRAG:GetDCSMissionTask()
--end
-- Create orbit task.
local DCStask=CONTROLLABLE.TaskOrbit(nil, orbitVec2, self.orbitAltitude, self.orbitSpeed, orbitRaceTrack)
local DCStask=CONTROLLABLE.TaskOrbit(nil, COORDINATE:NewFromVec2(orbitVec2), self.orbitAltitude, self.orbitSpeed, orbitRaceTrack)
-- Add DCS task.
table.insert(DCStasks, DCStask)