playroom装扮任务优化
This commit is contained in:
parent
037142bb0a
commit
94d31c2cab
@ -803,7 +803,7 @@ func (p *PlayroomMod) PlayroomDressSet(DressSet map[int]int) ([]int, error) {
|
|||||||
if !GoUtil.InArray(Id, dresses) {
|
if !GoUtil.InArray(Id, dresses) {
|
||||||
return nil, fmt.Errorf("dress not found")
|
return nil, fmt.Errorf("dress not found")
|
||||||
}
|
}
|
||||||
if p.DressSet[Type] != Id {
|
if p.DressSet[Type] == 0 && Id != 0 {
|
||||||
Part = append(Part, Type)
|
Part = append(Part, Type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user