Update KcpNetServer.cs
This commit is contained in:
parent
3f1e106102
commit
e6bb3dc5fa
|
@ -327,7 +327,8 @@ namespace BITKit.Net
|
|||
|
||||
if (methodInfo.ReturnType == typeof(void) || methodInfo.ReturnType == typeof(UniTask))
|
||||
{
|
||||
value = 0;
|
||||
await result;
|
||||
value = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue