mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix smells
This commit is contained in:
parent
cf55333a07
commit
effb05e732
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user