mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-21 19:37:39 +03:00
Handle selling ship on ShipyardSwap
This commit is contained in:
parent
8314a47da6
commit
b860b85d91
@ -216,7 +216,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
||||
if state['PaintJob'] is not None:
|
||||
props.append(('paintJob', state['PaintJob']))
|
||||
updateship(cmdr, state['ShipID'], state['ShipType'], props)
|
||||
elif entry['event'] in ['ShipyardBuy', 'ShipyardSell', 'SellShipOnRebuy']:
|
||||
elif entry['event'] in ['ShipyardBuy', 'ShipyardSell', 'SellShipOnRebuy', 'ShipyardSwap']:
|
||||
sellship(cmdr, entry.get('SellShipID'))
|
||||
|
||||
# Send cargo to EDSM on startup or change
|
||||
|
Loading…
x
Reference in New Issue
Block a user