This commit is contained in:
hahwu 2025-12-15 14:23:03 +08:00
parent 9db70ae389
commit a3d3c2621f

View File

@ -364,10 +364,7 @@ func ReqGmCommand_(player *Player, Command string) error {
case "save":
player.PlayMod.ClearData(player)
case "logout":
a := player.GetAgent()
player.PushAndSendClienRes(&msg.ForceKickOut{})
a.Close()
player.ClearData()
case "resetFriend":
FriendMod := player.PlayMod.getFriendMod()
FriendMod.FriendList = make(map[int]struct{})