Ignore:
Timestamp:
07/16/23 10:55:47 (10 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

The taxi sounds can be started on pushback (re #367)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/soundsched.py

    r919 r1094  
    149149    def __init__(self, flight, boardingSound = None):
    150150        """Construct the taxi sound."""
     151        config = flight.config
     152
    151153        super(TaxiSound, self).__init__(const.SOUND_MALEV,
    152154                                        const.STAGE_PUSHANDTAXI,
    153155                                        previousSound = boardingSound,
    154156                                        extraCondition = lambda _flight, state:
    155                                         state.groundSpeed>5)
     157                                        config.taxiSoundOnPushback or state.groundSpeed>5)
    156158
    157159        self._flight = flight
Note: See TracChangeset for help on using the changeset viewer.