Commit a653a5c9dc8f41328b1c68b43322a45bab54cb28

Authored by jiyue
2 parents af973e45 17c9ca5b

Merge branch 'cn/develop' into cn/publish/release

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/actions/RadioAction.lua
@@ -123,7 +123,8 @@ function _M.startQuestRpc(agent, data) @@ -123,7 +123,8 @@ function _M.startQuestRpc(agent, data)
123 local getActIDs = function () 123 local getActIDs = function ()
124 local actids = {} 124 local actids = {}
125 for _, v in pairs(radioTask or {}) do 125 for _, v in pairs(radioTask or {}) do
126 - actids[v.actid] = (actids[v.actid] or 0) + 1 126 + local actid = v.actid or 0
  127 + actids[actid] = (actids[actid] or 0) + 1
127 end 128 end
128 return actids 129 return actids
129 end 130 end