Update KcpNetServer.cs

This commit is contained in:
CortexCore 2024-07-06 17:15:20 +08:00
parent 3f1e106102
commit e6bb3dc5fa
1 changed files with 2 additions and 1 deletions

View File

@ -327,7 +327,8 @@ namespace BITKit.Net
if (methodInfo.ReturnType == typeof(void) || methodInfo.ReturnType == typeof(UniTask))
{
value = 0;
await result;
value = -1;
}
else
{