This commit is contained in:
1
2025-10-23 06:00:18 +00:00
parent ab5907de15
commit be9649664c
2 changed files with 7 additions and 6 deletions

View File

@@ -86,16 +86,12 @@ func (h *Controller) Login(data *user.MAIN_LOGIN_IN, c gnet.Conn) (result *user.
t.CompleteLogin() //通知客户端登录成功
glog.Debug(context.Background(), "登录成功,初始地图 人数:", space.GetSpace(t.Info.MapID).User.Count())
result = user.NewOutInfo() //设置登录消息
result.PlayerInfo = *t.Info
for i := 0; i < 80; i++ {
result.PlayerInfo.NonoChipList[i] = 255
}
result.NONO.SuperNono = 1
defer func() {
tt := maps.NewOutInfo()
copier.CopyWithOption(tt, t.Info, copier.Option{DeepCopy: true})