tanghai 3 лет назад
Родитель
Сommit
2e2a037c15
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Unity/Assets/Scripts/Core/Module/Network/TService.cs

+ 2 - 2
Unity/Assets/Scripts/Core/Module/Network/TService.cs

@@ -198,7 +198,7 @@ namespace ET
 						case TcpOp.StartSend:
 						{
 							TChannel tChannel = this.Get(result.ChannelId);
-							if (tChannel == null)
+							if (tChannel != null)
 							{
 								tChannel.StartSend();
 							}
@@ -207,7 +207,7 @@ namespace ET
 						case TcpOp.StartRecv:
 						{
 							TChannel tChannel = this.Get(result.ChannelId);
-							if (tChannel == null)
+							if (tChannel != null)
 							{
 								tChannel.StartRecv();
 							}