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,7 +698,7 @@ function Activity:recycleActItem(actId)
698 local itemCount = role:getItemCount(fromId) 698 local itemCount = role:getItemCount(fromId)
699 if itemCount > 0 then 699 if itemCount > 0 then
700 costs[fromId] = (costs[fromId] or 0) + itemCount 700 costs[fromId] = (costs[fromId] or 0) + itemCount
701 - gift[toId] = toNum * itemCount 701 + gift[toId] = (gift[toId] or 0) + toNum * itemCount
702 end 702 end
703 end 703 end
704 if next(costs) then 704 if next(costs) then