From c1b3a0b95ee7e09e434389120e35cc73893b9ae4 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 21 一月 2019 19:40:46 +0800
Subject: [PATCH] 5931 【后端】【1.5.100】诛仙装备开发(增加诛仙装备穿脱包)
---
Tool/Robot/Robot/RobotBase.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Tool/Robot/Robot/RobotBase.py b/Tool/Robot/Robot/RobotBase.py
index ea48ff3..440c250 100644
--- a/Tool/Robot/Robot/RobotBase.py
+++ b/Tool/Robot/Robot/RobotBase.py
@@ -367,6 +367,8 @@
self.allsend += sendPack.GetLength()
logging.debug( "%s send %d bytes data. recvAll:%d sendAll:%d ALL:%d" % \
( str(self), sendPack.GetLength(), self.allrecv, self.allsend, self.allrecv+self.allsend ) )
+ if not self.__peer:
+ return
self.__mgr.SendData( self.__peer, sendPack.GetBuffer(), sendPack.GetLength() )
--
Gitblit v1.8.0