上传任务修补
This commit is contained in:
parent
bad09620dc
commit
c48086f76d
@ -219,10 +219,12 @@ func (this *ModelWorldtask) taskFinishPush(session comm.IUserSession, userTask *
|
||||
}
|
||||
}
|
||||
} else {
|
||||
nwt, ok := userTask.CurrentTasks[curTaskConf.Group]
|
||||
if ok {
|
||||
// 删除
|
||||
delete(nwt.TaskMap, curTaskConf.Key)
|
||||
if curTaskConf.Des == 5 {
|
||||
nwt, ok := userTask.CurrentTasks[curTaskConf.Group]
|
||||
if ok {
|
||||
// 删除
|
||||
delete(nwt.TaskMap, curTaskConf.Key)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user