1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 17:12:21 +03:00

Merge pull request #1355 from EDCD/fix/1354/loadgame-rank-progress-order

monitor: Don't re-init Enginers/Rank/Reputation on LoadGame
This commit is contained in:
Athanasius 2021-11-21 11:29:05 +00:00 committed by GitHub
commit ef7e6f81f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -554,10 +554,12 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
'Horizons': entry['Horizons'], # From 3.0
'Odyssey': entry.get('Odyssey', False), # From 4.0 Odyssey
'Loan': entry['Loan'],
'Engineers': {},
'Rank': {},
'Reputation': {},
'Statistics': {},
# For Odyssey, by 4.0.0.100, and at least from Horizons 3.8.0.201 the order of events changed
# to LoadGame being after some 'status' events.
# 'Engineers': {}, # 'EngineerProgress' event now before 'LoadGame'
# 'Rank': {}, # 'Rank'/'Progress' events now before 'LoadGame'
# 'Reputation': {}, # 'Reputation' event now before 'LoadGame'
'Statistics': {}, # Still after 'LoadGame' in 4.0.0.903
'Role': None,
'Taxi': None,
'Dropship': None,