diff --git a/src/actions/RadioAction.lua b/src/actions/RadioAction.lua index 273f55f..e20ae5a 100644 --- a/src/actions/RadioAction.lua +++ b/src/actions/RadioAction.lua @@ -69,7 +69,7 @@ function _M.startQuestRpc(agent, data) needHeroCnt = it[2] end end - for _, heroId in ipairs(heros) do + for _, heroId in pairs(heros) do local hero = role.heros[heroId] if hero then needHeroCnt = needHeroCnt - 1 -- libgit2 0.21.2