announce final prompt again if recovering from a "U-turn when possible" situation
This commit is contained in:
parent
a7ae50294e
commit
960dc3da84
1 changed files with 2 additions and 1 deletions
|
@ -180,7 +180,8 @@ public class VoiceRouter {
|
|||
|
||||
// after last turn say:
|
||||
if(next == null || next.distance == 0) {
|
||||
if(currentStatus <= STATUS_UNKNOWN && currentDirection > 0){
|
||||
// if(currentStatus <= STATUS_UNKNOWN && currentDirection > 0){ This caused this prompt to be suppressed when coming back from a UTwp situation
|
||||
if(currentStatus <= STATUS_UNKNOWN){
|
||||
CommandBuilder play = getNewCommandPlayerToPlay();
|
||||
if(play != null){
|
||||
play.goAhead(router.getLeftDistance()).andArriveAtDestination().play();
|
||||
|
|
Loading…
Reference in a new issue