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

Don't send squadron info with EDDN Location and FSDJump messages

This commit is contained in:
Jonathan Harris 2018-11-22 10:03:07 +00:00
parent ca6afa6d58
commit 6602ac415e

View File

@ -404,7 +404,8 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
for thing in ['ActiveFine', 'CockpitBreach', 'BoostUsed', 'FuelLevel', 'FuelUsed', 'JumpDist', 'Latitude', 'Longitude', 'Wanted']:
entry.pop(thing, None)
for faction in entry.get('Factions', []):
faction.pop('MyReputation', None)
for thing in ['HappiestSystem', 'HomeSystem', 'MyReputation', 'SquadronFaction']:
faction.pop(thing, None)
# add planet to Docked event for planetary stations if known
if entry['event'] == 'Docked' and this.planet: