Skip to content

Commit

Permalink
remove unusable constructor that can break some games.
Browse files Browse the repository at this point in the history
  • Loading branch information
RevenantX committed Aug 5, 2024
1 parent f094dbf commit d0a2f8d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions LiteNetLib/NetManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,6 @@ public List<NetPeer> ConnectedPeerList
public int ConnectedPeersCount => (int)Interlocked.Read(ref _connectedPeersCount);

public int ExtraPacketSizeForLayer => _extraPacketLayer?.ExtraPacketSizeForLayer ?? 0;
public NetManager(bool useSocketFix = true)
{
#if UNITY_SOCKET_FIX
_useSocketFix = useSocketFix;
#endif
}

/// <summary>
/// NetManager constructor
Expand Down

0 comments on commit d0a2f8d

Please sign in to comment.