diff --git a/Runtime/GameKcpClient.cs b/Runtime/GameKcpClient.cs index a9f64ed..904eaef 100644 --- a/Runtime/GameKcpClient.cs +++ b/Runtime/GameKcpClient.cs @@ -55,7 +55,7 @@ namespace DofLibrary channelConfig.Crc32Check = false; channelConfig.UseConvChannel = true; //channelConfig.Conv = UnityEngine.Random.Range(1, int.MaxValue); - if(_timeoutMillis.hasValue) + if(_timeoutMillis.HasValue) channelConfig.TimeoutMillis = _timeoutMillis.Value; _kcpClient = new KcpClient();