Commit cf1d48e8f3c1f74840ccc575bbb916aedc48ca27
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,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 |