增加5秒延迟
This commit is contained in:
@@ -34,12 +34,15 @@ function OnGatewaySocketConnect() {
|
|||||||
print("\x1b[96m" + "############双端插件初始化成功############" + "\x1b[0m");
|
print("\x1b[96m" + "############双端插件初始化成功############" + "\x1b[0m");
|
||||||
});
|
});
|
||||||
|
|
||||||
local Jso = {
|
Timer.SetTimeOut(function() {
|
||||||
op = 10001,
|
local Jso = {
|
||||||
channel = Sq_Game_GetConfig(),
|
op = 10001,
|
||||||
type = 1
|
channel = Sq_Game_GetConfig(),
|
||||||
}
|
type = 1
|
||||||
Socket.SendGateway(Jso);
|
}
|
||||||
|
Socket.SendGateway(Jso);
|
||||||
|
}, 5000);
|
||||||
|
|
||||||
|
|
||||||
foreach(value in OnGatewaySocketConnectFunc) {
|
foreach(value in OnGatewaySocketConnectFunc) {
|
||||||
value();
|
value();
|
||||||
|
|||||||
Reference in New Issue
Block a user