mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#AUFTRAG
* Fix for orbit task not able to get a Vec2 from a Vec2...
This commit is contained in:
parent
b99d963cd5
commit
fe9a5aea2a
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user