Commit 52c87300950ea1c7f76ae97fd5abd2f5ae696c69

Authored by zhouhaihai
1 parent cc5ca7f3

bug

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 145 _BattleKey = tostring(math.random())
146 146  
147 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 149 return true
150 150 end
151 151  
... ...