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:
parent
ca6afa6d58
commit
6602ac415e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user