From a96dfd37392d979cd978a2567e33e219c9753a43 Mon Sep 17 00:00:00 2001 From: lenheart Date: Sun, 28 Dec 2025 14:32:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A05=E7=A7=92=E5=BB=B6=E8=BF=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _DPS_/_Core/BaseClass/Socket/SocketBase.nut | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/_DPS_/_Core/BaseClass/Socket/SocketBase.nut b/_DPS_/_Core/BaseClass/Socket/SocketBase.nut index e7745d1..dd5459a 100644 --- a/_DPS_/_Core/BaseClass/Socket/SocketBase.nut +++ b/_DPS_/_Core/BaseClass/Socket/SocketBase.nut @@ -34,12 +34,15 @@ function OnGatewaySocketConnect() { print("\x1b[96m" + "############双端插件初始化成功############" + "\x1b[0m"); }); - local Jso = { - op = 10001, - channel = Sq_Game_GetConfig(), - type = 1 - } - Socket.SendGateway(Jso); + Timer.SetTimeOut(function() { + local Jso = { + op = 10001, + channel = Sq_Game_GetConfig(), + type = 1 + } + Socket.SendGateway(Jso); + }, 5000); + foreach(value in OnGatewaySocketConnectFunc) { value();