diff --git a/src/models/Activity.lua b/src/models/Activity.lua index b455e9b..fdff431 100644 --- a/src/models/Activity.lua +++ b/src/models/Activity.lua @@ -598,8 +598,8 @@ function Activity:closeActivity(actId, notify, notUpdateAct) local actType = actData.showType if activityFunc[actType] and activityFunc[actType]['close'] then activityFunc[actType]["close"](self, actType, notify, actId) - self:recycleActItem(actId) end + self:recycleActItem(actId) if Activity.schema["act".. actType] then if not Activity.schema["act" .. actType][3] then self:updateActData(actType, Activity.schema["act" .. actType][2], not notify or notUpdateAct) -- libgit2 0.21.2