mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 15:57:14 +03:00
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".
This commit is contained in:
parent
524c0425fb
commit
b7769821be
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user