kick players when keepalive timeout

This commit is contained in:
Tnze
2021-12-24 20:40:24 +08:00
parent 494a52320d
commit 1742fde1ff
4 changed files with 7 additions and 17 deletions

View File

@ -131,6 +131,9 @@ func (g *Game) AcceptPlayer(name string, id uuid.UUID, protocol int32, conn *net
if err := ph.F(p, Packet757(packet)); err != nil {
return
}
if err := p.GetErr(); err != nil {
return
}
}
}
}