playroom服装任务bug修复

This commit is contained in:
hahwu 2026-02-10 15:45:12 +08:00
parent 8967922db6
commit 9d4a2c9f15

View File

@ -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)
} }
} }