From b7769821bede7db3e6a79971917c9dc0baa54a96 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Wed, 23 Nov 2022 13:56:01 +0000 Subject: [PATCH] eddn: Send immediately if docked This has the "are we delaying sending?" check, but without the short-circuit for "we are actually docked right now". --- plugins/eddn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/eddn.py b/plugins/eddn.py index d201e291..db6dbf96 100644 --- a/plugins/eddn.py +++ b/plugins/eddn.py @@ -941,7 +941,7 @@ class EDDN: msg['header'] = self.standard_header() msg_id = self.sender.add_message(cmdr, msg) - if not (config.get_int('output') & config.OUT_EDDN_DELAY): + if this.docked or not (config.get_int('output') & config.OUT_EDDN_DELAY): # No delay in sending configured, so attempt immediately self.sender.send_message_by_id(msg_id)