mirror of
https://github.com/norohind/EDMC-FCTracker.git
synced 2025-04-19 14:07:37 +03:00
More verbose logging on location update by cmdr_data
This commit is contained in:
parent
4e3dd5c946
commit
f2d88e04da
5
load.py
5
load.py
@ -609,5 +609,6 @@ def cmdr_data(data, is_beta):
|
||||
if carrier.callsign is not None:
|
||||
for ship_key in data['ships']:
|
||||
if data['ships'][ship_key]['station']['name'] == carrier.callsign:
|
||||
carrier.location = data['ships'][ship_key]['starsystem']['name']
|
||||
logger.debug(f'Updating FC location according to cmdr_data: "{carrier.location}"')
|
||||
new_location = data['ships'][ship_key]['starsystem']['name']
|
||||
logger.debug(f'Updating FC location according to cmdr_data: {carrier.location} -> {new_location}')
|
||||
carrier.location = new_location
|
||||
|
Loading…
x
Reference in New Issue
Block a user