1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 00:30:33 +03:00

plugins/eddb: Remove misleading comments about 'Only use CAPI...'

This is needed for "not even running the game" CAPI update to be useful.
This commit is contained in:
Athanasius 2020-07-21 15:29:23 +01:00
parent e2c74ed11d
commit 4c4511a66d

View File

@ -74,8 +74,6 @@ def cmdr_data(data, is_beta):
this.station_marketid = data['commander']['docked'] and data['lastStarport']['id']
# 'eddb' is also the *default* Station provider
if not config.get('station_provider') or config.get('station_provider') == 'eddb':
# Only use CAPI value if not yet set
# This is to avoid CAPI lagging causing incorrect value
if data['commander']['docked']:
this.station_link['text'] = data['lastStarport']['name']
elif data['lastStarport']['name'] and data['lastStarport']['name'] != "":