Commit c481419604d547f480d5364b55c0f42cd9ae3e89

Authored by chenyueqi
1 parent 007a7927

从数据库读取捐赠物品顺序错误

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/RolePlugin.lua
... ... @@ -1349,7 +1349,7 @@ function RolePlugin.bind(Role)
1349 1349 end
1350 1350 end)
1351 1351 result[idx] = {}
1352   - for i,v in ipairs(temp) do
  1352 + for i,v in pairs(temp) do
1353 1353 if v then
1354 1354 result[idx][i] = tonumber(v)
1355 1355 end
... ...