From f217a3ad6c4a2be05b5e48eb310311c8ce093e9d Mon Sep 17 00:00:00 2001 From: xiaohang Date: Mon, 18 Sep 2023 15:10:43 +0800 Subject: [PATCH] fix compile error --- Runtime/GameKcpClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();