This commit is contained in:
chenxi 2023-05-11 21:33:48 +08:00
parent 4e95b11e21
commit 57bf9204c1

View File

@ -38,8 +38,7 @@ function DailyTaskData:init(data)
}
if v.bounty then
dailyTaskObj.lock = true
end
self.dailyTasks[k] = dailyTaskObj
else -- 只有解锁的任务才注册监听任务进度
local list = self.taskTypeMap[taskInfo.type]
if list == nil then
list = {}
@ -50,6 +49,8 @@ function DailyTaskData:init(data)
self:registerTask(taskInfo.type)
end
end
self.dailyTasks[k] = dailyTaskObj
end
end
end