Skip to content

Commit

Permalink
Implemented HRRCL.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwatsonforster committed Oct 8, 2023
1 parent 1434b97 commit 900452e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion airpower/aircraft/_flightcapabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,8 @@ def climbcapability(self):
return climbcapability

def hasproperty(self, p):
return self._aircraftdata.hasproperty(p)
if self._aircraftdata.hasproperty(p):
return True
if p == "HRR" and self._configuration == "CL":
return self._aircraftdata.hasproperty("HRRCL")
return False

0 comments on commit 900452e

Please sign in to comment.