Commit 46b128fdb9dbfaaee8786972bb78596fa1e671c6

Authored by liuzujun
Committed by 熊润斐
1 parent b1b3c0d6

多队挂机70005报错 Bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/RadioAction.lua
... ... @@ -69,7 +69,7 @@ function _M.startQuestRpc(agent, data)
69 69 needHeroCnt = it[2]
70 70 end
71 71 end
72   - for _, heroId in ipairs(heros) do
  72 + for _, heroId in pairs(heros) do
73 73 local hero = role.heros[heroId]
74 74 if hero then
75 75 needHeroCnt = needHeroCnt - 1
... ...