diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/onboard/ATP/ATPLogicLoop.java b/src/main/java/club/joylink/rtss/simulation/cbtc/onboard/ATP/ATPLogicLoop.java index 3930acded..fbcec8419 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/onboard/ATP/ATPLogicLoop.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/onboard/ATP/ATPLogicLoop.java @@ -59,7 +59,7 @@ public class ATPLogicLoop { this.onboardLogicRun2(simulation, train); SimulationMember member = simulation .findMemberByRoleAndDeviceCode(SimulationMember.Type.DRIVER, train.getGroupNumber()); - if (Objects.nonNull(member) && member.isRobot()) { + if (Objects.nonNull(member) && train.isAtoOn()/*&& member.isRobot()*/) { this.driveLogicRun(simulation, train); } }