Display damaged runways.

This commit is contained in:
Dan Albert
2020-11-25 14:53:01 -08:00
parent 7dfb0c67e5
commit ee768b9147
3 changed files with 7 additions and 8 deletions

View File

@@ -404,7 +404,7 @@ class Airfield(ControlPoint):
return self.airport.runways[0].heading
def has_runway(self) -> bool:
return True
return not self.damaged
def active_runway(self, conditions: Conditions,
dynamic_runways: Dict[str, RunwayData]) -> RunwayData: