mirror of
https://github.com/norohind/EDMC-FCTracker.git
synced 2026-11-26 02:46:41 +03:00
More verbose logging on location update by cmdr_data
This commit is contained in:
1 file changed
+3
-2
@@ -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
|
||||
Reference in new issue
Block a user