Fixed ground start for helos in FOB

This commit is contained in:
Khopa 2021-06-06 17:28:23 +02:00
parent 73b1be36a2
commit 29c0a8d054
2 changed files with 3 additions and 1 deletions

View File

@ -55,6 +55,7 @@ from .frontline import FrontLine
from .landmap import Landmap, load_landmap, poly_contains
from .latlon import LatLon
from .projections import TransverseMercator
from ..helipad import Helipad
from ..point_with_heading import PointWithHeading
from ..profiling import logged_duration
from ..scenery_group import SceneryGroup

View File

@ -1173,8 +1173,9 @@ class AircraftConflictGenerator:
start_type=flight.start_type,
at=helipad.static_unit,
)
# Note : A bit dirty, need better support required in pydcs
group.points[0].action = PointAction.FromGroundArea
group.points[0].type = "From Ground Area"
group.points[0].type = "TakeOffGround"
helipad.occupied = True
for i in range(flight.count - 1):