Changeset 519:4d047bb841c3 for src/mlx
- Timestamp:
- 06/05/13 15:33:32 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r518 r519 910 910 def isCondition(self, flight, aircraft, oldState, state): 911 911 """Check if the fault condition holds.""" 912 return ( flight.stage!=const.STAGE_PARKING or \913 not flight.config.usingFS2Crew) and \912 return (not flight.config.usingFS2Crew or not state.parking or 913 flight.stage!=const.STAGE_TAXIAFTERLAND) and \ 914 914 not state.antiCollisionLightsOn and \ 915 915 self.isEngineCondition(state)
Note:
See TracChangeset
for help on using the changeset viewer.