连接修复

This commit is contained in:
hahwu 2025-12-31 14:47:21 +08:00
parent 4b471ad95d
commit 98c187869b

View File

@ -6,6 +6,7 @@ import (
"encoding/json"
"errors"
"math"
"server/conf"
activityCfg "server/conf/activity"
cardCfg "server/conf/card"
chargeCfg "server/conf/charge"
@ -868,6 +869,11 @@ func (p *Player) HandleItem(itemList []*item.Item, Label string) error {
// 登录返回数据
func (p *Player) LoginBackData() {
SendMsgToCenterAsync(&MsgMod.Msg{
From: int(p.M_DwUin),
HandleType: MsgMod.HANDLE_MOD_PLAYER_LOGIN,
Extra: conf.Server.ServerID,
})
p.PushClientRes(p.PlayMod.mod_list.Base.BackData())
p.PushClientRes(p.PlayMod.mod_list.Handbook.BackData())
p.PushClientRes(p.PlayMod.mod_list.Base.BackData())