debug prints
This commit is contained in:
parent
80a4f90e0d
commit
f97d3b6649
@ -35,6 +35,8 @@ namespace Network.Syncing {
|
||||
|
||||
Sync.LastReliableIDReceived = LastReliableIDReceived;
|
||||
|
||||
GD.print("LastReliableIDReceived: " + Sync.LastReliableIDReceived);
|
||||
|
||||
// Add Queues
|
||||
var Unreliables = UnreliableQueue.ToArray();
|
||||
var Reliables = ReliableQueue.ToArray();
|
||||
@ -47,6 +49,7 @@ namespace Network.Syncing {
|
||||
Unreliable.Serialize(Buffer);
|
||||
}
|
||||
foreach (Serializable Reliable in Reliables) {
|
||||
GD.print("Sent a reliable message!");
|
||||
Reliable.Serialize(Buffer);
|
||||
}
|
||||
|
||||
@ -66,6 +69,8 @@ namespace Network.Syncing {
|
||||
|
||||
LastReliableIDTheyReceived = Sync.LastReliableIDReceived;
|
||||
|
||||
GD.print("They have now received reliables up to ID " + LastReliableIDReceived);
|
||||
|
||||
RemoveRedundantReliables();
|
||||
|
||||
// Read Queues
|
||||
|
Loading…
Reference in New Issue
Block a user