eddn/tracking: Tweak commenting about coordinates

* `entry_augment_system_data()` will now always be passed starpos based
  on state['StarPos'].
* Removed TODO about deprecating in-plugin tracking.
This commit is contained in:
Athanasius committed 2023-01-11 19:43:19 +00:00
1 parent e6abc137ce
commit 6f3967fb7f
1 file changed
+1 -2
+1 -2
View File
@@ -1123,11 +1123,10 @@ class EDDN:
entry['SystemAddress'] = this.systemaddress
if 'StarPos' not in entry:
# Prefer the passed-in, probably monitor.state version
# Prefer the passed-in version
if system_coordinates is not None:
entry['StarPos'] = system_coordinates
# TODO: Deprecate in-plugin tracking
elif this.coordinates is not None:
entry['StarPos'] = list(this.coordinates)