playroom服装任务bug修复
This commit is contained in:
parent
8967922db6
commit
9d4a2c9f15
@ -1000,7 +1000,7 @@ func (p *PlayroomMod) PlayroomDressSet(DressSet map[int]int) ([]int, map[int]int
|
|||||||
if dressInfo.EndTime < GoUtil.Now() && dressInfo.EndTime != 0 {
|
if dressInfo.EndTime < GoUtil.Now() && dressInfo.EndTime != 0 {
|
||||||
return nil, nil, fmt.Errorf("dress timeout")
|
return nil, nil, fmt.Errorf("dress timeout")
|
||||||
}
|
}
|
||||||
if p.DressSet[Type] == 0 && Id != 0 {
|
if p.DressSet[Type] != Id && Id != 0 {
|
||||||
Part = append(Part, Type)
|
Part = append(Part, Type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user