mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-22 20:00:29 +03:00
fixed station link logic
This commit is contained in:
parent
e74c5c8ceb
commit
a699ab062d
@ -958,8 +958,8 @@ def journal_entry(cmdr: str, is_beta: bool, system: str, station: str, entry: Di
|
||||
|
||||
if config.get('station_provider') == 'Inara':
|
||||
to_set = this.station
|
||||
if not to_set and this.system_population is not None:
|
||||
if this.system_population > 0:
|
||||
if not to_set:
|
||||
if this.system_population is not None and this.system_population > 0:
|
||||
to_set = STATION_UNDOCKED
|
||||
else:
|
||||
to_set = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user