mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-02 08:31:16 +03:00
Send location to Inara at startup
This commit is contained in:
parent
e2161cd108
commit
e31b4f36e2
@ -242,7 +242,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
|||||||
this.shipswap = False
|
this.shipswap = False
|
||||||
|
|
||||||
# Update location
|
# Update location
|
||||||
if (entry['event'] == 'Location' or this.newuser) and system:
|
if (entry['event'] in ['StartUp', 'Location'] or this.newuser) and system:
|
||||||
this.undocked = False
|
this.undocked = False
|
||||||
add_event('setCommanderTravelLocation', entry['timestamp'],
|
add_event('setCommanderTravelLocation', entry['timestamp'],
|
||||||
OrderedDict([
|
OrderedDict([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user