fix smells

This commit is contained in:
Paul Pacheco 2020-03-23 09:30:47 -05:00
parent cf55333a07
commit effb05e732

View File

@ -36,8 +36,8 @@ public abstract class NetworkDiscoveryBase<Request, Response> : MonoBehaviour
[Range(1, 60)] [Range(1, 60)]
float ActiveDiscoveryInterval = 3; float ActiveDiscoveryInterval = 3;
protected UdpClient serverUdpClient = null; protected UdpClient serverUdpClient;
protected UdpClient clientUdpClient = null; protected UdpClient clientUdpClient;
#if UNITY_EDITOR #if UNITY_EDITOR
void OnValidate() void OnValidate()
@ -146,7 +146,6 @@ public async Task ServerListenAsync()
} }
catch (Exception) catch (Exception)
{ {
continue;
} }
} }
} }