Changeset 969:1e193fa64d1e


Ignore:
Timestamp:
05/16/19 17:18:48 (6 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

Strings are returned as string by the FSUIPC simulator (re #347)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/pyuipc_sim.py

    r928 r969  
    606606            return int(self.zfw * 256.0 * const.KGSTOLB)
    607607        elif offset==0x3c00:       # Path of the current AIR file
    608             return bytes(self.airPath, "iso-8859-1")
     608            return self.airPath
    609609        elif offset==0x3d00:       # Name of the current aircraft
    610             return bytes(self.aircraftName, "iso-8859-1")
     610            return self.aircraftName
    611611        elif offset==0x6202:       # PMDG 737NG switches
    612612            return self.pmdg_737ng_switches
Note: See TracChangeset for help on using the changeset viewer.