mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fixed ground start for helos in FOB
This commit is contained in:
parent
73b1be36a2
commit
29c0a8d054
@ -55,6 +55,7 @@ from .frontline import FrontLine
|
|||||||
from .landmap import Landmap, load_landmap, poly_contains
|
from .landmap import Landmap, load_landmap, poly_contains
|
||||||
from .latlon import LatLon
|
from .latlon import LatLon
|
||||||
from .projections import TransverseMercator
|
from .projections import TransverseMercator
|
||||||
|
from ..helipad import Helipad
|
||||||
from ..point_with_heading import PointWithHeading
|
from ..point_with_heading import PointWithHeading
|
||||||
from ..profiling import logged_duration
|
from ..profiling import logged_duration
|
||||||
from ..scenery_group import SceneryGroup
|
from ..scenery_group import SceneryGroup
|
||||||
|
|||||||
@ -1173,8 +1173,9 @@ class AircraftConflictGenerator:
|
|||||||
start_type=flight.start_type,
|
start_type=flight.start_type,
|
||||||
at=helipad.static_unit,
|
at=helipad.static_unit,
|
||||||
)
|
)
|
||||||
|
# Note : A bit dirty, need better support required in pydcs
|
||||||
group.points[0].action = PointAction.FromGroundArea
|
group.points[0].action = PointAction.FromGroundArea
|
||||||
group.points[0].type = "From Ground Area"
|
group.points[0].type = "TakeOffGround"
|
||||||
helipad.occupied = True
|
helipad.occupied = True
|
||||||
|
|
||||||
for i in range(flight.count - 1):
|
for i in range(flight.count - 1):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user