注释文档完善

This commit is contained in:
kercylan98
2023-05-30 09:58:18 +08:00
parent 68378f2c58
commit 5ca21409cf
12 changed files with 104 additions and 15 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func main() {
players.Delete(conn.GetID())
lockstep.LeaveClient(conn.GetID())
if players.Size() == 0 {
lockstep.Stop()
lockstep.StopBroadcast()
}
})
srv.RegConnectionReceiveWebsocketPacketEvent(func(srv *server.Server, conn *server.Conn, packet []byte, messageType int) {