【主题活动】部分活动未关闭试修复
parent
510c18226a
commit
a779533517
|
@ -428,7 +428,7 @@ function this.IsActivityTypeOpen(type)
|
||||||
local globalActConfigs = ConfigManager.GetAllConfigsDataByKey(ConfigName.GlobalActivity, "Type", type)
|
local globalActConfigs = ConfigManager.GetAllConfigsDataByKey(ConfigName.GlobalActivity, "Type", type)
|
||||||
local activityId = nil
|
local activityId = nil
|
||||||
table.walk(globalActConfigs, function(actConfigInfo)
|
table.walk(globalActConfigs, function(actConfigInfo)
|
||||||
if this.mission and this.mission[actConfigInfo.Id] then
|
if this.mission and this.mission[actConfigInfo.Id] and (this.mission[actConfigInfo.Id].endTime - GetTimeStamp() > 0) then
|
||||||
activityId = actConfigInfo.Id
|
activityId = actConfigInfo.Id
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue