mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 07:47:14 +03:00
Inara: Trigger off 'Progress' for sending setCommanderRankPilot
Doing so from 'Rank' means the 'Progress' event hadn't happened yet, so of course we only ever sent all zeroes for progress. NB: Journal-v32 doc makes *no guarantee* about the order of the events. Is it worth trying to be paranoid about that ? For a 100% new player everything would be "all zeroes", so we would likely need to tweak things to store `None` as default values, and check for such.
This commit is contained in:
parent
5e47502384
commit
22f90e23aa
@ -519,7 +519,7 @@ def journal_entry( # noqa: C901, CCR001
|
||||
new_add_event('setCommanderShipLoadout', entry['timestamp'], this.loadout)
|
||||
|
||||
# Login-time Ranks
|
||||
elif event_name == 'Rank':
|
||||
elif event_name == 'Progress':
|
||||
# Send rank info to Inara on startup
|
||||
new_add_event(
|
||||
'setCommanderRankPilot',
|
||||
|
Loading…
x
Reference in New Issue
Block a user