mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-23 12:20:30 +03:00
Fix for addCommanderShip on ShipyardNew event
This commit is contained in:
parent
b8c2430c53
commit
c8f6eff6a3
@ -352,8 +352,8 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
||||
if entry['event'] == 'ShipyardNew':
|
||||
add_event('addCommanderShip', entry['timestamp'],
|
||||
OrderedDict([
|
||||
('shipType', state['ShipType']),
|
||||
('shipGameID', state['NewShipID']),
|
||||
('shipType', entry['ShipType']),
|
||||
('shipGameID', entry['NewShipID']),
|
||||
]))
|
||||
this.shipswap = True # Want subsequent Loadout event to be sent immediately
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user