Ignore:
Timestamp:
12/24/22 08:47:04 (16 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

New constant for X-Plane 12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/xplane.py

    r1070 r1073  
    523523                  (xplaneVersion, xplmVersion, xplraVersion)
    524524                if not autoReconnection:
    525                     fsType = const.SIM_XPLANE11 if xplaneVersion>=11000 else \
    526                       (const.SIM_XPLANE10 if xplaneVersion>=10000 else const.SIM_XPLANE9)
     525                    fsType = \
     526                      const.SIM_XPLANE12 if xplaneVersion>=12000 else \
     527                      const.SIM_XPLANE11 if xplaneVersion>=11000 else \
     528                      const.SIM_XPLANE10 if xplaneVersion>=10000 else \
     529                      const.SIM_XPLANE9
     530
     531                    print("xplane.Handler._connect: fsType:", fsType)
    527532
    528533                    Handler._callSafe(lambda:
Note: See TracChangeset for help on using the changeset viewer.