增加5秒延迟

This commit is contained in:
lenheart 2025-12-28 14:32:19 +08:00
parent 63a461c02f
commit a96dfd3739
1 changed files with 9 additions and 6 deletions

View File

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