Send location to Inara at startup

This commit is contained in:
Jonathan Harris committed 2018-01-13 11:01:48 +00:00
1 parent e2161cd108
commit e31b4f36e2
1 file changed
+1 -1
+1 -1
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([