eddn/fsssignaldiscovered: For Horizons add check on tracked location

This commit is contained in:
Athanasius committed 2022-06-23 10:34:13 +01:00
1 parent e70b51cf03
commit 9162b3a94d
1 file changed
+4
+4
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