Remove useless prints

This commit is contained in:
Sofia 2017-11-25 16:29:23 +02:00
parent da0fa50323
commit c44813d0d2
3 changed files with 2 additions and 5 deletions

View File

@ -31,6 +31,7 @@ namespace Network {
TextMessagePkt Pkt = new TextMessagePkt();
Pkt.Text = "Hello, Server!";
PacketDistributor.AddReliableForAll(Pkt);
GD.print("Hello'd the server!");
}
}

View File

@ -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 = "*") {

View File

@ -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();