mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 01:22:19 +03:00
Don't switch ships when launching a Guardian fighter
This commit is contained in:
parent
d0487d1497
commit
a74bf40f8f
@ -393,8 +393,8 @@ class EDLogs(FileSystemEventHandler):
|
||||
self.state['Rebuy'] = None
|
||||
self.state['Modules'] = None
|
||||
elif (entry['event'] == 'Loadout' and
|
||||
not self.canonicalise(entry['Ship']).endswith('fighter') and
|
||||
not self.canonicalise(entry['Ship']).endswith('buggy')):
|
||||
not 'fighter' in self.canonicalise(entry['Ship']) and
|
||||
not 'buggy' in self.canonicalise(entry['Ship'])):
|
||||
self.state['ShipID'] = entry['ShipID']
|
||||
self.state['ShipIdent'] = entry['ShipIdent']
|
||||
self.state['ShipName'] = entry['ShipName']
|
||||
|
Loading…
x
Reference in New Issue
Block a user