mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-06 02:13:41 +03:00
removed suits["slots"] (for now)
This commit is contained in:
parent
67df2efc8a
commit
d63b6ad782
@ -1109,7 +1109,6 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
'id': None, # Is this an FDev ID for suit type ?
|
'id': None, # Is this an FDev ID for suit type ?
|
||||||
'suitId': entry['SuitID'],
|
'suitId': entry['SuitID'],
|
||||||
'mods': entry['SuitMods'], # Suits can (rarely) be bought with modules installed
|
'mods': entry['SuitMods'], # Suits can (rarely) be bought with modules installed
|
||||||
'slots': [],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# update credits
|
# update credits
|
||||||
@ -1682,7 +1681,6 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
|
|
||||||
# Now add in the extra fields for new_suit to be a 'full' Suit structure
|
# Now add in the extra fields for new_suit to be a 'full' Suit structure
|
||||||
suit['id'] = suit.get('id') # Not available in 4.0.0.100 journal event
|
suit['id'] = suit.get('id') # Not available in 4.0.0.100 journal event
|
||||||
suit['slots'] = new_loadout['slots'] # 'slots', not 'Modules', to match CAPI
|
|
||||||
# Ensure the suit is in self.state['Suits']
|
# Ensure the suit is in self.state['Suits']
|
||||||
self.state['Suits'][f"{suitid}"] = suit
|
self.state['Suits'][f"{suitid}"] = suit
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user