Commit cf1d48e8f3c1f74840ccc575bbb916aedc48ca27

Authored by liuzujun
1 parent cd949029

多队挂机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
... ...