|
|
@@ -187,9 +187,8 @@ function getIDByActID(human, actID)
|
|
|
end
|
|
|
|
|
|
function checkAbsActClean(human, id)
|
|
|
- local config = AbsActExcel.absActivity[id]
|
|
|
- local _,realEndTime = transTime(config)
|
|
|
- local now = os.time()
|
|
|
+ local config = AbsActExcel.absActivity[id]
|
|
|
+
|
|
|
-- 活动没有配置 清楚对应数据
|
|
|
if not config then
|
|
|
print("[checkAbsActClean] 活动没有配置 清除对应数据 id = \n", id)
|
|
|
@@ -203,6 +202,9 @@ function checkAbsActClean(human, id)
|
|
|
return
|
|
|
end
|
|
|
|
|
|
+ local _,realEndTime = transTime(config)
|
|
|
+ local now = os.time()
|
|
|
+
|
|
|
--临时处理积分兑换 下版本删掉
|
|
|
if human.db.absAct[id] and not human.db.absAct[id].finish then
|
|
|
if config.type == AbsActDefine.ABS_ACT_TYPE_7 then
|