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