mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-19 02:17:38 +03:00
monitor: Don't synthesize StartUp if current event is ShutDown
This commit is contained in:
parent
9f0edc5a29
commit
5bd14ddd78
@ -2120,7 +2120,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
if entry['event'] == 'Location':
|
if entry['event'] == 'Location':
|
||||||
logger.trace_if('journal.locations', '"Location" event')
|
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
|
# Game not running locally, but Journal has been updated
|
||||||
self.live = True
|
self.live = True
|
||||||
entry = self.synthesize_startup_event()
|
entry = self.synthesize_startup_event()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user