更新成就
This commit is contained in:
parent
5a9a34816f
commit
e65167a016
@ -68,7 +68,7 @@ func (this *ModelTask) getTaskListByTag(uid string, taskTag comm.TaskTag) (newli
|
|||||||
if taskTag == comm.TASK_ACHIEVE {
|
if taskTag == comm.TASK_ACHIEVE {
|
||||||
for _, v := range taskList {
|
for _, v := range taskList {
|
||||||
if curTask := this.moduleTask.configure.getTaskById(v.TaskId); curTask != nil {
|
if curTask := this.moduleTask.configure.getTaskById(v.TaskId); curTask != nil {
|
||||||
if v.Received == 0 && curTask.IdAfter == 0 { //未领取和没有下个连续任务的
|
if v.Received == 0 && curTask.IdAfter == 0 && this.moduleTask.configure.isFirstTask(curTask.Key) { //未领取和没有下个连续任务的
|
||||||
newlist = append(newlist, v)
|
newlist = append(newlist, v)
|
||||||
} else if this.moduleTask.configure.isFirstTask(curTask.Key) && curTask.IdAfter != 0 { //连续任务的第一个任务
|
} else if this.moduleTask.configure.isFirstTask(curTask.Key) && curTask.IdAfter != 0 { //连续任务的第一个任务
|
||||||
next := this.moduleTask.configure.getTaskById(curTask.IdAfter)
|
next := this.moduleTask.configure.getTaskById(curTask.IdAfter)
|
||||||
|
Loading…
Reference in New Issue
Block a user