Revert "【主题活动】部分活动未关闭试修复"

This reverts commit a779533517.
dev_chengFeng
zhangqiang 2021-01-08 17:35:12 +08:00
parent 49a0424ba0
commit 97b298d7a2
1 changed files with 2 additions and 2 deletions

View File

@ -428,8 +428,8 @@ function this.IsActivityTypeOpen(type)
local globalActConfigs = ConfigManager.GetAllConfigsDataByKey(ConfigName.GlobalActivity, "Type", type)
local activityId = nil
table.walk(globalActConfigs, function(actConfigInfo)
if this.mission and this.mission[actConfigInfo.Id] and (this.mission[actConfigInfo.Id].endTime - GetTimeStamp() > 0) then
activityId = actConfigInfo.Id
if this.mission and this.mission[actConfigInfo.Id] then
activityId = actConfigInfo.Id
end
end)
return activityId