mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-16 15:22:17 +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:
parent
e2c74ed11d
commit
4c4511a66d
@ -74,8 +74,6 @@ def cmdr_data(data, is_beta):
|
|||||||
this.station_marketid = data['commander']['docked'] and data['lastStarport']['id']
|
this.station_marketid = data['commander']['docked'] and data['lastStarport']['id']
|
||||||
# 'eddb' is also the *default* Station provider
|
# 'eddb' is also the *default* Station provider
|
||||||
if not config.get('station_provider') or config.get('station_provider') == 'eddb':
|
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']:
|
if data['commander']['docked']:
|
||||||
this.station_link['text'] = data['lastStarport']['name']
|
this.station_link['text'] = data['lastStarport']['name']
|
||||||
elif data['lastStarport']['name'] and data['lastStarport']['name'] != "":
|
elif data['lastStarport']['name'] and data['lastStarport']['name'] != "":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user