From 5f7ff4b07d3553c6a953ec6e22cd14cc87c60f3e Mon Sep 17 00:00:00 2001 From: weizhihong Date: Thu, 29 Dec 2022 14:16:37 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=9E=E8=AE=AD=E8=BF=9B=E8=B7=AF?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/club/joylink/rtss/vo/training2/rule/MapDeviceRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/vo/training2/rule/MapDeviceRule.java b/src/main/java/club/joylink/rtss/vo/training2/rule/MapDeviceRule.java index f0f066f72..b228d550f 100644 --- a/src/main/java/club/joylink/rtss/vo/training2/rule/MapDeviceRule.java +++ b/src/main/java/club/joylink/rtss/vo/training2/rule/MapDeviceRule.java @@ -601,7 +601,7 @@ public enum MapDeviceRule { @Override public List filterMapDeviceList(Simulation simulation) { return generateRandomElement(queryNormalRouteList(simulation, route ->{ - return route.getInterlockStation().isHasControlMode() && !route.isGuide(); + return route.getInterlockStation().isHasControlMode() && !route.isGuide() && !route.isTurnBack(); }), NUMBER); } },