From a699ab062d9e7cc802f68d65a091ad1886ad8df6 Mon Sep 17 00:00:00 2001 From: A_D Date: Wed, 29 Jul 2020 17:15:17 +0200 Subject: [PATCH] fixed station link logic --- plugins/inara.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inara.py b/plugins/inara.py index 74d68b7a..626c7ca4 100644 --- a/plugins/inara.py +++ b/plugins/inara.py @@ -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 = ''