Helipad : fixed errors after merge of develop features.

This commit is contained in:
Khopa
2021-06-20 18:20:40 +02:00
parent c70169b4a0
commit e56e765450
4 changed files with 11 additions and 5 deletions

View File

@@ -116,6 +116,10 @@ class AircraftType(UnitType[FlyingType]):
def flyable(self) -> bool:
return self.dcs_unit_type.flyable
@property
def helicopter(self) -> bool:
return self.dcs_unit_type.helicopter
@cached_property
def max_speed(self) -> Speed:
return kph(self.dcs_unit_type.max_speed)