Commit 40dd50570354f28c49fa8ba062e84c2dc6ca47b3

Authored by zhouhaihai
1 parent 69a45034

奖励内容错误

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