Skip to content

Commit

Permalink
refactor: fixing code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Mar 12, 2021
1 parent 3ecb659 commit dcb79c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Mirage/Runtime/NetworkPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static void Send<T>(IEnumerable<INetworkPlayer> connections, T msg, int c
/// <param name="msg">The message to send.</param>
/// <param name="channelId">The transport layer channel to send on.</param>
/// <returns></returns>
public virtual void Send<T>(T msg, int channelId = Channel.Reliable)
public virtual void Send<T>(T message, int channelId = Channel.Reliable)
{
using (PooledNetworkWriter writer = NetworkWriterPool.GetWriter())
{
Expand Down Expand Up @@ -373,7 +373,7 @@ internal struct PacketEnvelope
}
const int ACK_MASK_BITS = sizeof(ulong) * 8;
const int WINDOW_SIZE = 512;
// packages will be acked no longer than this time;
// packages will be acked no longer than this time
public float NOTIFY_ACK_TIMEOUT = 0.3f;

private Sequencer sequencer = new Sequencer(16);
Expand Down

0 comments on commit dcb79c1

Please sign in to comment.