1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 09:10:35 +03:00

Merge pull request #1445 from EDCD/fix/1378/inara-sync-ranks-onfoot-beta8

Inara: Trigger off 'Progress' for sending setCommanderRankPilot
This commit is contained in:
Athanasius 2022-02-08 14:38:52 +00:00 committed by GitHub
commit b74d0478b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -518,8 +518,9 @@ def journal_entry( # noqa: C901, CCR001
this.loadout = make_loadout(state)
new_add_event('setCommanderShipLoadout', entry['timestamp'], this.loadout)
# Login-time Ranks
elif event_name == 'Rank':
# Trigger off the "only observed as being after Ranks" event so that
# we have both current Ranks *and* current Progress within them.
elif event_name == 'Progress':
# Send rank info to Inara on startup
new_add_event(
'setCommanderRankPilot',