Commit 325ec56957a9f02aa4be5e862d8b9ffa05b74e73

Authored by zhouhaihai
2 parents 3eb2cbca 40dd5057

Merge branch 'tr/bugfix' into tr/publish/release

* tr/bugfix:
  奖励内容错误
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/Activity.lua
... ... @@ -698,7 +698,7 @@ function Activity:recycleActItem(actId)
698 698 local itemCount = role:getItemCount(fromId)
699 699 if itemCount > 0 then
700 700 costs[fromId] = (costs[fromId] or 0) + itemCount
701   - gift[toId] = toNum * itemCount
  701 + gift[toId] = (gift[toId] or 0) + toNum * itemCount
702 702 end
703 703 end
704 704 if next(costs) then
... ...