xdh
2018-09-25 dd93f9d6743284738018c8005946c20e6d681c3c
Tool/Robot/Robot/RobotMgr.py
@@ -67,7 +67,11 @@
                    if index >= self.robotMgr.GetRobotCount():
                        # ProcessAI可能会清除了robot
                        break
                    robot = self.robotMgr.GetRobot( index )
                    try:
                        robot = self.robotMgr.GetRobot( index )
                    except:
                        # 判断index防范不到,可能多线程引起,此处报错结束循环
                        break
                    if not robot:
                        continue
                    robot.GetAIMgr().ProcessAI()