Ignore:
Timestamp:
04/30/12 15:21:44 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added option to enable/disable the online gate system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/acft.py

    r134 r136  
    155155            elif newStage==const.STAGE_TAXIAFTERLAND:
    156156                bookedFlight = self._flight.bookedFlight
    157                 if bookedFlight.arrivalICAO=="LHBP" and \
    158                    self._flight.config.isMessageTypeFS(const.MESSAGETYPE_GATE_SYSTEM):
     157                config = self._flight.config
     158                if config.onlineGateSystem and \
     159                   bookedFlight.arrivalICAO=="LHBP" and \
     160                   config.isMessageTypeFS(const.MESSAGETYPE_GATE_SYSTEM):
    159161                    self._flight.getFleet(callback = self._fleetRetrieved,
    160162                                          force = True)
Note: See TracChangeset for help on using the changeset viewer.