From 94d31c2cab2cb9ea38fc07ea1c29bbd6ca005e97 Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Wed, 23 Jul 2025 16:16:28 +0800 Subject: [PATCH] =?UTF-8?q?playroom=E8=A3=85=E6=89=AE=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/game/mod/playroom/playroom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/mod/playroom/playroom.go b/src/server/game/mod/playroom/playroom.go index 4f7078bf..2b71ae9f 100644 --- a/src/server/game/mod/playroom/playroom.go +++ b/src/server/game/mod/playroom/playroom.go @@ -803,7 +803,7 @@ func (p *PlayroomMod) PlayroomDressSet(DressSet map[int]int) ([]int, error) { if !GoUtil.InArray(Id, dresses) { return nil, fmt.Errorf("dress not found") } - if p.DressSet[Type] != Id { + if p.DressSet[Type] == 0 && Id != 0 { Part = append(Part, Type) } }