mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
CQC game mode LoadGame has fewer fields, no Ship
This commit is contained in:
parent
dc7f4bdd1c
commit
79729d683e
@ -520,7 +520,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
'Statistics': {},
|
'Statistics': {},
|
||||||
'Role': None,
|
'Role': None,
|
||||||
})
|
})
|
||||||
if self._RE_SHIP_ONFOOT.search(entry['Ship']):
|
if entry.get('Ship') is not None and self._RE_SHIP_ONFOOT.search(entry['Ship']):
|
||||||
self.state['OnFoot'] = True
|
self.state['OnFoot'] = True
|
||||||
|
|
||||||
elif event_type == 'NewCommander':
|
elif event_type == 'NewCommander':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user