Fixed errors after merge on helipad feature.

This commit is contained in:
Khopa
2021-08-03 00:15:14 +02:00
parent 1e96aad484
commit 483640b0c6
4 changed files with 19 additions and 9 deletions

View File

@@ -614,7 +614,7 @@ class HelipadGenerator:
country=country,
name=(name + "_fuel"),
_type=Fortification.FARP_Fuel_Depot,
position=pad.position.point_from_heading(helipad.heading, 35),
position=pad.position.point_from_heading(helipad.heading.degrees, 35),
heading=pad.heading,
)
self.m.static_group(
@@ -622,8 +622,8 @@ class HelipadGenerator:
name=(name + "_ammo"),
_type=Fortification.FARP_Ammo_Dump_Coating,
position=pad.position.point_from_heading(
helipad.heading, 35
).point_from_heading(helipad.heading + 90, 10),
helipad.heading.degrees, 35
).point_from_heading(helipad.heading.degrees + 90, 10),
heading=pad.heading,
)