Commit 8a75396ac510478937d2f674a60513b41830d684

Authored by zhouhaihai
2 parents eced97f2 40dd5057

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

* 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
... ...