修改小bug

This commit is contained in:
joylink_zhangsai 2022-04-27 14:17:51 +08:00
parent 933b9f7bb6
commit 5b6f5ab8df

View File

@ -292,7 +292,7 @@ public class InterlockBuilder2 {
} else { //选的是信号机 } else { //选的是信号机
end = (Signal) elementMap.get(bntCode); end = (Signal) elementMap.get(bntCode);
} }
if (end.equals(start)) { if (!end.equals(start)) {
route.setDestination(end); route.setDestination(end);
break; break;
} }