diff --git a/src/models/Activity.lua b/src/models/Activity.lua index 13423c2..27d645b 100644 --- a/src/models/Activity.lua +++ b/src/models/Activity.lua @@ -698,7 +698,7 @@ function Activity:recycleActItem(actId) local itemCount = role:getItemCount(fromId) if itemCount > 0 then costs[fromId] = (costs[fromId] or 0) + itemCount - gift[toId] = toNum * itemCount + gift[toId] = (gift[toId] or 0) + toNum * itemCount end end if next(costs) then -- libgit2 0.21.2