From 2ad1e4a944254cb74add322e7e35a9fa891166c8 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 6 Dec 2022 23:17:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Network/fgcom.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Network/fgcom.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index 3ad593c..bcd6f1c 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -643,7 +643,7 @@ void FGCom::valueChanged(SGPropertyNode *prop) SGPropertyNode_ptr args(new SGPropertyNode); args->setStringValue("label", "PTT按下,请讲..."); - args->setIntValue("delay", (delay) ? delay : 15); + args->setIntValue("delay", 5); globals->get_commands()->execute("show-message", args); setupCommFrequency();