From d0a2f8d6ea4b1cc4d191f5a3c1ea72375b97d794 Mon Sep 17 00:00:00 2001 From: RevenantX Date: Mon, 5 Aug 2024 15:12:36 +0300 Subject: [PATCH] remove unusable constructor that can break some games. --- LiteNetLib/NetManager.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/LiteNetLib/NetManager.cs b/LiteNetLib/NetManager.cs index 16c803c6..a30cd4ca 100644 --- a/LiteNetLib/NetManager.cs +++ b/LiteNetLib/NetManager.cs @@ -356,12 +356,6 @@ public List 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 - } /// /// NetManager constructor