1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 16:27:13 +03:00

Send location to Inara at startup

This commit is contained in:
Jonathan Harris 2018-01-13 11:01:48 +00:00
parent e2161cd108
commit e31b4f36e2

View File

@ -242,7 +242,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
this.shipswap = False
# 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
add_event('setCommanderTravelLocation', entry['timestamp'],
OrderedDict([