fix: network manager not subscribing to communicator properly
This commit is contained in:
		@@ -38,8 +38,8 @@ public class NetworkManager : UniverseObject, INetworkManager
 | 
			
		||||
            var previousCommunicator = _networkCommunicator;
 | 
			
		||||
            _networkCommunicator = value;
 | 
			
		||||
 | 
			
		||||
            if (previousCommunicator is not null) SubscribeCommunicatorMethods(previousCommunicator);
 | 
			
		||||
            if (_networkCommunicator is not null) UnsubscribeCommunicatorMethods(_networkCommunicator);
 | 
			
		||||
            if (previousCommunicator is not null) UnsubscribeCommunicatorMethods(previousCommunicator);
 | 
			
		||||
            if (_networkCommunicator is not null) SubscribeCommunicatorMethods(_networkCommunicator);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user