mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
EDSM: Use loaded BackPack data, not the empty event.
This commit is contained in:
parent
143a205fb9
commit
e5909e9024
@ -432,6 +432,11 @@ def journal_entry(
|
||||
elif entry['event'] == 'NavBeaconScan':
|
||||
this.navbeaconscan = entry['NumBodies']
|
||||
|
||||
elif entry['event'] == 'BackPack':
|
||||
# Use the stored file contents, not the empty journal event
|
||||
if state['BackpackJSON']:
|
||||
entry = state['BackpackJSON']
|
||||
|
||||
# Send interesting events to EDSM
|
||||
if (
|
||||
config.get_int('edsm_out') and not is_beta and not this.multicrew and credentials(cmdr) and
|
||||
|
Loading…
x
Reference in New Issue
Block a user