Ignore:
Timestamp:
05/16/12 18:04:55 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Added support for the entrance exam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/acft.py

    r170 r184  
    6666        # queried from it, so the model should have a reference to the GUI as
    6767        # well and access such data via the GUI!
    68         if flight.config.onlineACARS:
     68        if flight.config.onlineACARS and not flight.entranceExam:
    6969            self._checkers.append(checks.ACARSSender(flight._gui))
    7070
     
    173173                self._logV1R2()
    174174            elif newStage==const.STAGE_TAXIAFTERLAND:
    175                 bookedFlight = self._flight.bookedFlight
    176                 config = self._flight.config
     175                flight = self._flight
     176                bookedFlight = flight.bookedFlight
     177                config = flight.config
    177178                if config.onlineGateSystem and \
     179                   not flight.entranceExam and \
    178180                   bookedFlight.arrivalICAO=="LHBP" and \
    179181                   config.isMessageTypeFS(const.MESSAGETYPE_GATE_SYSTEM):
Note: See TracChangeset for help on using the changeset viewer.