mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
ShipID can be zero
Ref 65970de
This commit is contained in:
parent
20c86f36cd
commit
2ff75b9da9
@ -205,7 +205,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
||||
setranks(cmdr, state['Rank'])
|
||||
|
||||
# Send ship info to EDSM on startup or change
|
||||
if entry['event'] in ['StartUp', 'Loadout', 'LoadGame', 'SetUserShipName'] and cmdr and state['ShipID']:
|
||||
if entry['event'] in ['StartUp', 'Loadout', 'LoadGame', 'SetUserShipName'] and cmdr and state['ShipID'] is not None:
|
||||
setshipid(cmdr, state['ShipID'])
|
||||
props = []
|
||||
if state['ShipIdent'] is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user