try more sophisticated fix for 2571
This commit is contained in:
parent
00cb19cd9e
commit
c6968269a1
1 changed files with 2 additions and 1 deletions
|
@ -896,7 +896,8 @@ public class RouteResultPreparation {
|
||||||
rs.keepRight = true;
|
rs.keepRight = true;
|
||||||
rs.leftLanes += lanes;
|
rs.leftLanes += lanes;
|
||||||
}
|
}
|
||||||
rs.speak = rs.speak || (rsSpeakPriority <= speakPriority);
|
//if (rs.keepLeft && rs.keepRight) it probably means you have no action here to be announced here
|
||||||
|
rs.speak = rs.speak || ((rsSpeakPriority <= speakPriority) && !(rs.keepLeft && rs.keepRight));
|
||||||
} else {
|
} else {
|
||||||
if (attachedOnTheRight) {
|
if (attachedOnTheRight) {
|
||||||
rs.addRoadsOnRight++;
|
rs.addRoadsOnRight++;
|
||||||
|
|
Loading…
Reference in a new issue