diff --git a/src/actions/RoleAction.lua b/src/actions/RoleAction.lua index 57c58e3..81c376a 100644 --- a/src/actions/RoleAction.lua +++ b/src/actions/RoleAction.lua @@ -252,7 +252,7 @@ function _M.loginRpc( agent, data ) -- 注册全服广播 if not role._channelIdx then - local channel = math.randomInt(1, 1) + local channel = math.randomInt(1, 10) role._channelIdx = channel end if not mcast_util.channel_world() then -- libgit2 0.21.2