mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-04-28 18:30:03 -04:00
Use unreliable channel for heartbeat ping/pong (#4440)
This commit is contained in:
@@ -292,7 +292,7 @@ internal partial class NetworkSystem
|
||||
ByteStream bs = ByteStream.Create( 512 );
|
||||
bs.Write( InternalMessageType.HeartbeatPong );
|
||||
bs.Write( serverRealTime ); // the time they sent
|
||||
source.SendStream( bs );
|
||||
source.SendStream( bs, NetFlags.Unreliable | NetFlags.SendImmediate );
|
||||
bs.Dispose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user