处理商队任务是否可以重复接取
This commit is contained in:
parent
ac23f1043f
commit
aa692be3a2
@ -220,7 +220,7 @@ func (this *WTask) AcceptCaravanTask(session comm.IUserSession, groupId int32) (
|
||||
}
|
||||
|
||||
for _, v := range grouptask {
|
||||
if _, ok = completeMap[v.Key]; !ok { //找到一个为完成任务
|
||||
if _, ok = completeMap[v.Key]; v.LockAdd == 1 || !ok { //找到一个为完成任务
|
||||
target = v
|
||||
break
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user