1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 09:10:35 +03:00

eddn/fsssignaldiscovered: For Horizons add check on tracked location

This commit is contained in:
Athanasius 2022-06-19 12:05:28 +01:00
parent e70b51cf03
commit 9162b3a94d
No known key found for this signature in database
GPG Key ID: AE3E527847057C7D

View File

@ -1364,6 +1364,10 @@ class EDDN:
else:
# Horizons order, so use tracked data for cross-check
if this.systemaddress is None or system_name is None or system_starpos is None:
logger.error(f'Location tracking failure: {this.systemaddress=}, {system_name=}, {system_starpos=}')
return 'Current location not tracked properly, started after game?'
aug_systemaddress = this.systemaddress
aug_starsystem = system_name
aug_starpos = system_starpos