Remove useless prints
This commit is contained in:
parent
da0fa50323
commit
c44813d0d2
@ -31,6 +31,7 @@ namespace Network {
|
||||
TextMessagePkt Pkt = new TextMessagePkt();
|
||||
Pkt.Text = "Hello, Server!";
|
||||
PacketDistributor.AddReliableForAll(Pkt);
|
||||
GD.print("Hello'd the server!");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,6 @@ namespace Network {
|
||||
LastConnectionSended = to.ID;
|
||||
}
|
||||
PacketPeer.PutPacket(packetBuffer.ByteBuffer);
|
||||
GD.print("Sent PacketBuffer with size " + packetBuffer.ByteBuffer.Length + " bytes.");
|
||||
}
|
||||
|
||||
public bool StartListening(int port, string address = "*") {
|
||||
|
@ -58,7 +58,6 @@ namespace Network.Syncing {
|
||||
Reliable.Serialize(Buffer);
|
||||
}
|
||||
|
||||
GD.print("Sending sync-" + Sync.Metadata.ID + " to " + Connection);
|
||||
Peer.SendBuffer(Buffer, Connection);
|
||||
|
||||
// Clear unreliables-queue
|
||||
@ -71,9 +70,7 @@ namespace Network.Syncing {
|
||||
|
||||
SyncPkt Sync = new SyncPkt();
|
||||
Sync.Deserialize(packetBuffer);
|
||||
|
||||
GD.print("Received sync-" + Sync.Metadata.ID);
|
||||
|
||||
|
||||
LastReliableIDTheyReceived = Sync.LastReliableIDReceived;
|
||||
|
||||
RemoveRedundantReliables();
|
||||
|
Loading…
Reference in New Issue
Block a user