错误初始化服装修复增加日志
This commit is contained in:
parent
06dd437e3d
commit
0c01365f45
@ -10,6 +10,8 @@ import (
|
|||||||
GoUtil "server/game_util"
|
GoUtil "server/game_util"
|
||||||
"server/msg"
|
"server/msg"
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
|
"gitea.bywaystudios.com/pet_home/leaf/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PlayroomMod struct {
|
type PlayroomMod struct {
|
||||||
@ -305,6 +307,7 @@ func (p *PlayroomMod) version(registerTime int64) {
|
|||||||
}
|
}
|
||||||
// 修复错误被初始化的服装
|
// 修复错误被初始化的服装
|
||||||
if v.Label == "" && GoUtil.InArray(v.Id, []int{51, 52, 53, 54, 55}) {
|
if v.Label == "" && GoUtil.InArray(v.Id, []int{51, 52, 53, 54, 55}) {
|
||||||
|
log.Debug("version fix dress id %d", v.Id)
|
||||||
delete(p.NewDress, k)
|
delete(p.NewDress, k)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user