Commit 46b128fdb9dbfaaee8786972bb78596fa1e671c6
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,7 +69,7 @@ function _M.startQuestRpc(agent, data) | ||
| 69 | needHeroCnt = it[2] | 69 | needHeroCnt = it[2] |
| 70 | end | 70 | end |
| 71 | end | 71 | end |
| 72 | - for _, heroId in ipairs(heros) do | 72 | + for _, heroId in pairs(heros) do |
| 73 | local hero = role.heros[heroId] | 73 | local hero = role.heros[heroId] |
| 74 | if hero then | 74 | if hero then |
| 75 | needHeroCnt = needHeroCnt - 1 | 75 | needHeroCnt = needHeroCnt - 1 |