From e2161cd108e0c5160e022cd872d94da81c49d403 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Sun, 7 Jan 2018 19:04:53 +0000 Subject: [PATCH] Get system status from results of StartUp pseudo-event Fixes #277 --- plugins/edsm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/edsm.py b/plugins/edsm.py index e9a2a819..c53c1a17 100644 --- a/plugins/edsm.py +++ b/plugins/edsm.py @@ -310,7 +310,7 @@ def worker(): else: # Update main window's system status for i in range(len(pending) - 1, -1, -1): - if pending[i]['event'] in ['Location', 'FSDJump']: + if pending[i]['event'] in ['StartUp', 'Location', 'FSDJump']: this.lastlookup = reply['events'][i] this.system.event_generate('<>', when="tail") # calls update_status in main thread break