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