From 7aad7ca5ed189fba7b701cb99faa1edb1e1f7953 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 30 十月 2018 11:07:41 +0800
Subject: [PATCH] 2253 【1.2】【1.1】老服更新后法宝之魂潜力等级显示与实际不符
---
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