【主题活动】部分活动未关闭试修复
parent
510c18226a
commit
a779533517
|
@ -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] then
|
||||
activityId = actConfigInfo.Id
|
||||
if this.mission and this.mission[actConfigInfo.Id] and (this.mission[actConfigInfo.Id].endTime - GetTimeStamp() > 0) then
|
||||
activityId = actConfigInfo.Id
|
||||
end
|
||||
end)
|
||||
return activityId
|
||||
|
|
Loading…
Reference in New Issue