parent
49a0424ba0
commit
97b298d7a2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue