Fix for addCommanderShip on ShipyardNew event

This commit is contained in:
Jonathan Harris committed 2018-03-05 23:47:24 +00:00
1 parent b8c2430c53
commit c8f6eff6a3
1 file changed
+2 -2
+2 -2
View File
@@ -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