parent
49a0424ba0
commit
97b298d7a2
|
@ -428,8 +428,8 @@ 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] and (this.mission[actConfigInfo.Id].endTime - GetTimeStamp() > 0) then
|
if this.mission and this.mission[actConfigInfo.Id] then
|
||||||
activityId = actConfigInfo.Id
|
activityId = actConfigInfo.Id
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
return activityId
|
return activityId
|
||||||
|
|
Loading…
Reference in New Issue