mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 15:57:14 +03:00
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:
parent
e6abc137ce
commit
6f3967fb7f
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user