From 9162b3a94dc4d9fbe87a98d171d426b00749cd75 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sun, 19 Jun 2022 12:05:28 +0100 Subject: [PATCH] eddn/fsssignaldiscovered: For Horizons add check on tracked location --- plugins/eddn.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/eddn.py b/plugins/eddn.py index d0332cff..4bea9bcd 100644 --- a/plugins/eddn.py +++ b/plugins/eddn.py @@ -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