Commit 5bf34f2761b3e64125474f223282b9b5a55b53cc

Authored by zhouhaihai
2 parents 890e3f83 52c87300

Merge branch 'develop' into qa

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/HangAction.lua
@@ -145,7 +145,7 @@ function _M.startBattleRpc(agent, data) @@ -145,7 +145,7 @@ function _M.startBattleRpc(agent, data)
145 _BattleKey = tostring(math.random()) 145 _BattleKey = tostring(math.random())
146 146
147 role:checkTaskEnter("HangBattle", {id = carbonId}) 147 role:checkTaskEnter("HangBattle", {id = carbonId})
148 - SendPacket(actionCodes.Hang_startBattleRpc, MsgPack.pack({key = key})) 148 + SendPacket(actionCodes.Hang_startBattleRpc, MsgPack.pack({key = _BattleKey}))
149 return true 149 return true
150 end 150 end
151 151