修改小bug
This commit is contained in:
parent
933b9f7bb6
commit
5b6f5ab8df
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user