Changeset 1103:03fdfc6c9577


Ignore:
Timestamp:
09/16/23 14:43:25 (14 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

Timestamp monotonicity on X-Plane is checked only while monitoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/xplane.py

    r1102 r1103  
    964964        zuluSeconds = data[1]
    965965        if self._lastZuluSeconds is not None and \
    966            zuluSeconds<self._lastZuluSeconds:
     966           zuluSeconds<self._lastZuluSeconds and \
     967           self._monitoring:
    967968            diff = self._lastZuluSeconds - zuluSeconds
    968969            print("xplane.Simulator._getTimestamp: Zulu seconds have gone backwards: %f -> %f, diff: %f" % \
Note: See TracChangeset for help on using the changeset viewer.