Changeset 1094:a2a4b6462f53 for src/mlx/soundsched.py
- Timestamp:
- 07/16/23 10:55:47 (10 months ago)
- Branch:
- python3
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/soundsched.py
r919 r1094 149 149 def __init__(self, flight, boardingSound = None): 150 150 """Construct the taxi sound.""" 151 config = flight.config 152 151 153 super(TaxiSound, self).__init__(const.SOUND_MALEV, 152 154 const.STAGE_PUSHANDTAXI, 153 155 previousSound = boardingSound, 154 156 extraCondition = lambda _flight, state: 155 state.groundSpeed>5)157 config.taxiSoundOnPushback or state.groundSpeed>5) 156 158 157 159 self._flight = flight
Note:
See TracChangeset
for help on using the changeset viewer.