From 5bd14ddd788288eba3a7f132d70ad78bbf0437dd Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 13 Jan 2023 14:04:01 +0000 Subject: [PATCH] monitor: Don't synthesize StartUp if current event is ShutDown --- monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index 0b3a5a67..1770195c 100644 --- a/monitor.py +++ b/monitor.py @@ -2120,7 +2120,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below if entry['event'] == 'Location': logger.trace_if('journal.locations', '"Location" event') - if not self.live and entry['event'] not in (None, 'Fileheader'): + if not self.live and entry['event'] not in (None, 'Fileheader', 'ShutDown'): # Game not running locally, but Journal has been updated self.live = True entry = self.synthesize_startup_event()