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();