Commit 60d457252d1aba15c10c377eb94d3c019b3c4e95

Authored by zhouhaihai
1 parent 6a009043

调整频道数量

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/RoleAction.lua
@@ -252,7 +252,7 @@ function _M.loginRpc( agent, data ) @@ -252,7 +252,7 @@ function _M.loginRpc( agent, data )
252 252
253 -- 注册全服广播 253 -- 注册全服广播
254 if not role._channelIdx then 254 if not role._channelIdx then
255 - local channel = math.randomInt(1, 1) 255 + local channel = math.randomInt(1, 10)
256 role._channelIdx = channel 256 role._channelIdx = channel
257 end 257 end
258 if not mcast_util.channel_world() then 258 if not mcast_util.channel_world() then